diff --git a/help/fluid.knnregressor~.maxhelp b/help/fluid.knnregressor~.maxhelp index 497c7c76..f7e9a14f 100644 --- a/help/fluid.knnregressor~.maxhelp +++ b/help/fluid.knnregressor~.maxhelp @@ -3,14 +3,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 1, - "revision" : 11, + "minor" : 3, + "revision" : 0, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 100.0, 100.0, 967.0, 732.0 ], + "rect" : [ 35.0, 88.0, 995.0, 777.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -50,22 +50,22 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 1, - "revision" : 11, + "minor" : 3, + "revision" : 0, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 100.0, 126.0, 967.0, 706.0 ], + "rect" : [ 35.0, 114.0, 995.0, 751.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 13.0, "default_fontface" : 0, "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 5.0, 5.0 ], - "gridsnaponopen" : 1, + "gridonopen" : 2, + "gridsize" : [ 10.0, 10.0 ], + "gridsnaponopen" : 2, "objectsnaponopen" : 1, "statusbarvisible" : 2, "toolbarvisible" : 1, @@ -88,44 +88,196 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 0, + "id" : "obj-17", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 85.5, 560.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "id" : "obj-24", + "linecount" : 11, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 283.5, 554.0, 157.0, 166.0 ], + "text" : "Predicting the outputs for an exponential ramp shows how the mapping works.\n\nWe have a quasi-exponential sine wave here as a result of predicting based on the curved ramp of help.knnreg.query", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontname" : "Arial Bold", + "hint" : "", + "id" : "obj-19", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 631.5, 431.5, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "3", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontname" : "Arial Bold", + "hint" : "", + "id" : "obj-18", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 526.0, 392.5, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "2", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + } + + } +, { + "box" : { + "bgcolor" : [ 1.0, 0.788235, 0.470588, 1.0 ], + "fontname" : "Arial Bold", + "hint" : "", + "id" : "obj-25", + "ignoreclick" : 1, + "legacytextcolor" : 1, + "maxclass" : "textbutton", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "", "", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 293.0, 351.5, 20.0, 20.0 ], + "rounded" : 60.0, + "text" : "1", + "textcolor" : [ 0.34902, 0.34902, 0.34902, 1.0 ] + } + + } +, { + "box" : { + "bubble" : 1, + "id" : "obj-16", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 344.5, 429.0, 285.0, 25.0 ], + "text" : "Predict the output for the given input dataset" + } + + } +, { + "box" : { + "bubble" : 1, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 239.0, 390.0, 285.0, 25.0 ], + "text" : "now fit two fluid.dataset~s against each other" + } + + } +, { + "box" : { + "bubble" : 1, + "id" : "obj-14", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 59.0, 349.0, 232.0, 25.0 ], + "text" : "start by resetting the neural network" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "message", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 592.0, 120.0, 152.0, 23.0 ], - "text" : "r knnregress.help.redraw" + "patching_rect" : [ 20.0, 350.0, 37.0, 23.0 ], + "text" : "clear" } } , { "box" : { - "bgmode" : 0, - "border" : 0, - "clickthrough" : 0, - "embed" : 1, - "enablehscroll" : 0, - "enablevscroll" : 0, - "id" : "obj-7", - "lockeddragscroll" : 0, - "maxclass" : "bpatcher", + "id" : "obj-8", + "linecount" : 5, + "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, - "offset" : [ 0.0, 0.0 ], + "patching_rect" : [ 590.0, 250.0, 200.0, 79.0 ], + "text" : "Each of these buffers is representative of a dataset.\n\nLook inside the sub patchers to see how that works.", + "textcolor" : [ 0.501960784313725, 0.501960784313725, 0.501960784313725, 1.0 ] + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 20.0, 120.0, 62.0, 23.0 ], + "text" : "loadbang" + } + + } +, { + "box" : { + "color" : [ 1.0, 0.43921568627451, 0.662745098039216, 1.0 ], + "id" : "obj-31", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 200.0, 250.0, 179.0, 23.0 ], + "text" : "fluid.dataset~ help.knnreg.out" + } + + } +, { + "box" : { + "id" : "obj-33", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 1, - "revision" : 11, + "minor" : 3, + "revision" : 0, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 34.0, 79.0, 779.0, 713.0 ], + "rect" : [ 459.0, 490.0, 433.0, 235.0 ], "bglocked" : 0, - "openinpresentation" : 1, + "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", @@ -153,1694 +305,158 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 1, - "revision" : 11, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 59.0, 104.0, 640.0, 480.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "assistshowspatchername" : 0, - "boxes" : [ { - "box" : { - "id" : "obj-32", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "float" ], - "patching_rect" : [ 146.5, 391.0, 65.0, 22.0 ], - "text" : "unpack s f" - } - - } -, { - "box" : { - "id" : "obj-20", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 136.0, 303.0, 44.0, 22.0 ], - "text" : "get $1" - } - - } -, { - "box" : { - "id" : "obj-16", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 4, - "outlettype" : [ "dictionary", "", "", "" ], - "patching_rect" : [ 136.0, 363.0, 50.5, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "parameter_enable" : 0, - "parameter_mappable" : 0 - } -, - "text" : "dict" - } - - } -, { - "box" : { - "id" : "obj-14", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 185.5, 327.0, 101.0, 22.0 ], - "text" : "dict.unpack data:" - } - - } -, { - "box" : { - "id" : "obj-28", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "size", "dump", "" ], - "patching_rect" : [ 51.0, 147.0, 78.0, 22.0 ], - "text" : "t size dump l" - } - - } -, { - "box" : { - "id" : "obj-18", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 120.5, 457.0, 51.0, 22.0 ], - "text" : "zl group" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 111.0, 273.0, 44.0, 22.0 ], - "text" : "uzi 0 0" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 111.0, 240.0, 96.0, 22.0 ], - "text" : "route size dump" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 50.0, 201.0, 80.0, 22.0 ], - "text" : "fluid.dataset~" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 51.0, 100.0, 81.0, 22.0 ], - "text" : "prepend refer" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-29", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 51.0, 40.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-30", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 125.0, 551.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-1", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-14", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-32", 0 ], - "source" : [ "obj-16", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-30", 0 ], - "source" : [ "obj-18", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-20", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-28", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-28", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-28", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-29", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-32", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-14", 0 ], - "source" : [ "obj-6", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-7", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-7", 2 ] - } - - } - ] - } -, - "patching_rect" : [ 345.0, 251.0, 53.0, 22.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } -, - "text" : "p ds2list", - "varname" : "patcher[4]" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, + "id" : "obj-12", + "maxclass" : "message", + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 1, - "revision" : 11, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 59.0, 104.0, 640.0, 480.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "assistshowspatchername" : 0, - "boxes" : [ { - "box" : { - "id" : "obj-32", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "float" ], - "patching_rect" : [ 146.5, 391.0, 65.0, 22.0 ], - "text" : "unpack s f" - } - - } -, { - "box" : { - "id" : "obj-20", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 136.0, 303.0, 44.0, 22.0 ], - "text" : "get $1" - } - - } -, { - "box" : { - "id" : "obj-16", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 4, - "outlettype" : [ "dictionary", "", "", "" ], - "patching_rect" : [ 136.0, 363.0, 50.5, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "parameter_enable" : 0, - "parameter_mappable" : 0 - } -, - "text" : "dict" - } - - } -, { - "box" : { - "id" : "obj-14", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 185.5, 327.0, 101.0, 22.0 ], - "text" : "dict.unpack data:" - } - - } -, { - "box" : { - "id" : "obj-28", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "size", "dump", "" ], - "patching_rect" : [ 51.0, 147.0, 78.0, 22.0 ], - "text" : "t size dump l" - } - - } -, { - "box" : { - "id" : "obj-18", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 120.5, 457.0, 51.0, 22.0 ], - "text" : "zl group" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 111.0, 273.0, 44.0, 22.0 ], - "text" : "uzi 0 0" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 111.0, 240.0, 96.0, 22.0 ], - "text" : "route size dump" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 50.0, 201.0, 80.0, 22.0 ], - "text" : "fluid.dataset~" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 51.0, 100.0, 81.0, 22.0 ], - "text" : "prepend refer" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-29", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 51.0, 40.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-30", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 125.0, 551.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-1", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-14", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-32", 0 ], - "source" : [ "obj-16", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-30", 0 ], - "source" : [ "obj-18", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-20", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-28", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-28", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-28", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-29", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-32", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-14", 0 ], - "source" : [ "obj-6", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-7", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-7", 2 ] - } - - } - ] - } -, - "patching_rect" : [ 234.0, 255.0, 53.0, 22.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } -, - "text" : "p ds2list", - "varname" : "patcher[2]" + "patching_rect" : [ 179.0, 97.0, 49.0, 22.0 ], + "text" : "fill sin 1" } } , { "box" : { - "id" : "obj-1", + "id" : "obj-9", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 1, - "revision" : 11, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 59.0, 104.0, 640.0, 480.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "assistshowspatchername" : 0, - "boxes" : [ { - "box" : { - "id" : "obj-32", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "float" ], - "patching_rect" : [ 146.5, 391.0, 65.0, 22.0 ], - "text" : "unpack s f" - } - - } -, { - "box" : { - "id" : "obj-20", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 136.0, 303.0, 44.0, 22.0 ], - "text" : "get $1" - } - - } -, { - "box" : { - "id" : "obj-16", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 4, - "outlettype" : [ "dictionary", "", "", "" ], - "patching_rect" : [ 136.0, 363.0, 50.5, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "parameter_enable" : 0, - "parameter_mappable" : 0 - } -, - "text" : "dict" - } - - } -, { - "box" : { - "id" : "obj-14", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 185.5, 327.0, 101.0, 22.0 ], - "text" : "dict.unpack data:" - } - - } -, { - "box" : { - "id" : "obj-28", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "size", "dump", "" ], - "patching_rect" : [ 51.0, 147.0, 78.0, 22.0 ], - "text" : "t size dump l" - } - - } -, { - "box" : { - "id" : "obj-18", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 120.5, 457.0, 51.0, 22.0 ], - "text" : "zl group" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 111.0, 273.0, 44.0, 22.0 ], - "text" : "uzi 0 0" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 111.0, 240.0, 96.0, 22.0 ], - "text" : "route size dump" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 50.0, 201.0, 80.0, 22.0 ], - "text" : "fluid.dataset~" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 51.0, 100.0, 81.0, 22.0 ], - "text" : "prepend refer" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-29", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 51.0, 40.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-30", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 125.0, 551.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-1", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-14", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-32", 0 ], - "source" : [ "obj-16", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-30", 0 ], - "source" : [ "obj-18", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-20", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-28", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-28", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-28", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-29", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-32", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-14", 0 ], - "source" : [ "obj-6", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-7", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-7", 2 ] - } - - } - ] - } -, - "patching_rect" : [ 139.0, 255.0, 53.0, 22.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } -, - "text" : "p ds2list", - "varname" : "patcher[1]" - } - - } -, { - "box" : { - "id" : "obj-49", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 472.0, 59.0, 151.0, 47.0 ], - "presentation" : 1, - "presentation_linecount" : 2, - "presentation_rect" : [ 37.0, 172.0, 260.0, 33.0 ], - "text" : "so we drive it with a more exponential ramp, and get the curve in orange" - } - - } -, { - "box" : { - "id" : "obj-48", - "linecount" : 2, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 455.0, 39.0, 150.0, 33.0 ], - "presentation" : 1, - "presentation_rect" : [ 37.0, 150.0, 260.0, 20.0 ], - "text" : "i.e a mapping between a ramp and a sine wave" - } - - } -, { - "box" : { - "id" : "obj-46", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 273.0, 39.0, 150.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 180.0, 0.0, 47.0, 20.0 ], - "text" : "Target" - } - - } -, { - "box" : { - "id" : "obj-45", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 129.0, 39.0, 150.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 8.0, 0.0, 47.0, 20.0 ], - "text" : "Source" - } - - } -, { - "box" : { - "bgcolor" : [ 0.239216, 0.254902, 0.278431, 1.0 ], - "id" : "obj-43", - "ignoreclick" : 1, - "maxclass" : "multislider", - "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "", "" ], - "parameter_enable" : 0, - "patching_rect" : [ 46.0, 443.0, 165.0, 113.0 ], - "presentation" : 1, - "presentation_rect" : [ 188.0, 207.0, 165.0, 113.0 ], - "size" : 100, - "slidercolor" : [ 0.870588, 0.415686, 0.062745, 1.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 0.239216, 0.254902, 0.278431, 1.0 ], - "id" : "obj-42", - "ignoreclick" : 1, - "maxclass" : "multislider", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "parameter_enable" : 0, - "patching_rect" : [ 131.0, 308.0, 165.0, 113.0 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, 207.0, 165.0, 113.0 ], - "setminmax" : [ 0.0, 1.0 ], - "size" : 100, - "slidercolor" : [ 0.317647, 0.654902, 0.976471, 1.0 ] - } - - } -, { - "box" : { - "bgcolor" : [ 0.239216, 0.254902, 0.278431, 1.0 ], - "id" : "obj-41", - "ignoreclick" : 1, - "maxclass" : "multislider", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "parameter_enable" : 0, - "patching_rect" : [ 393.0, 449.0, 165.0, 113.0 ], - "presentation" : 1, - "presentation_rect" : [ 180.0, 28.0, 165.0, 113.0 ], - "size" : 100, - "slidercolor" : [ 0.784314, 0.145098, 0.023529, 1.0 ] + "outlettype" : [ "bang", "bang" ], + "patching_rect" : [ 13.0, 52.0, 32.0, 22.0 ], + "text" : "t b b" } } , { "box" : { "comment" : "", - "id" : "obj-40", + "id" : "obj-3", "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 38.0, 16.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-38", - "maxclass" : "newobj", + "maxclass" : "outlet", "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "bang", "bang", "bang", "bang" ], - "patching_rect" : [ 34.0, 52.0, 52.0, 22.0 ], - "text" : "t b b b b" - } - - } -, { - "box" : { - "id" : "obj-37", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 38.0, 138.0, 143.0, 22.0 ], - "text" : "knnregress.help.mapping" - } - - } -, { - "box" : { - "id" : "obj-36", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 139.0, 167.0, 140.0, 22.0 ], - "text" : "knnregress.help.testdata" + "numoutlets" : 0, + "patching_rect" : [ 13.0, 135.0, 30.0, 30.0 ] } } , { "box" : { - "id" : "obj-35", + "id" : "obj-7", + "linecount" : 2, "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 241.0, 207.0, 128.0, 22.0 ], - "text" : "knnregress.help.target" + "patching_rect" : [ 13.0, 97.0, 161.0, 22.0 ], + "text" : "frombuffer help.knnreg.shape.2" } } , { "box" : { - "id" : "obj-34", + "id" : "obj-1", + "linecount" : 2, "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 1, - "revision" : 11, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 59.0, 104.0, 640.0, 480.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", - "assistshowspatchername" : 0, - "boxes" : [ { - "box" : { - "id" : "obj-32", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "float" ], - "patching_rect" : [ 146.5, 391.0, 65.0, 22.0 ], - "text" : "unpack s f" - } - - } -, { - "box" : { - "id" : "obj-20", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 136.0, 303.0, 44.0, 22.0 ], - "text" : "get $1" - } - - } -, { - "box" : { - "id" : "obj-16", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 4, - "outlettype" : [ "dictionary", "", "", "" ], - "patching_rect" : [ 136.0, 363.0, 50.5, 22.0 ], - "saved_object_attributes" : { - "embed" : 0, - "parameter_enable" : 0, - "parameter_mappable" : 0 - } -, - "text" : "dict" - } - - } -, { - "box" : { - "id" : "obj-14", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 187.5, 303.0, 101.0, 22.0 ], - "text" : "dict.unpack data:" - } - - } -, { - "box" : { - "id" : "obj-28", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "size", "dump", "" ], - "patching_rect" : [ 51.0, 147.0, 78.0, 22.0 ], - "text" : "t size dump l" - } - - } -, { - "box" : { - "id" : "obj-18", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 120.5, 457.0, 51.0, 22.0 ], - "text" : "zl group" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 111.0, 273.0, 44.0, 22.0 ], - "text" : "uzi 0 0" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 111.0, 240.0, 96.0, 22.0 ], - "text" : "route size dump" - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 50.0, 201.0, 80.0, 22.0 ], - "text" : "fluid.dataset~" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 51.0, 100.0, 81.0, 22.0 ], - "text" : "prepend refer" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-29", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 51.0, 40.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-30", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 125.0, 551.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-1", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-14", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-32", 0 ], - "source" : [ "obj-16", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-30", 0 ], - "source" : [ "obj-18", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-20", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-28", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-28", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-28", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-29", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-32", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-14", 0 ], - "source" : [ "obj-6", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-6", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-18", 0 ], - "source" : [ "obj-7", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-7", 2 ] - } - - } - ] - } -, - "patching_rect" : [ 69.0, 259.0, 53.0, 22.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } -, - "text" : "p ds2list", - "varname" : "patcher[3]" - } - - } -, { - "box" : { - "bgcolor" : [ 0.239216, 0.254902, 0.278431, 1.0 ], - "id" : "obj-26", - "ignoreclick" : 1, - "maxclass" : "multislider", - "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "", "" ], - "parameter_enable" : 0, - "patching_rect" : [ 462.0, 287.0, 165.0, 113.0 ], - "presentation" : 1, - "presentation_rect" : [ 4.0, 28.0, 165.0, 113.0 ], - "setminmax" : [ 0.0, 1.0 ], - "size" : 100, - "slidercolor" : [ 0.439216, 0.74902, 0.254902, 1.0 ] + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 179.0, 135.0, 218.0, 22.0 ], + "text" : "buffer~ help.knnreg.shape.2 @samps 100" } } , { "box" : { - "id" : "obj-24", - "maxclass" : "message", - "numinlets" : 2, + "comment" : "", + "id" : "obj-34", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 404.0, 207.0, 133.0, 22.0 ], - "text" : "knnregress.help.source" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 476.0, 150.0, 192.0, 22.0 ], - "text" : "buffer~ knnregress.help.smallpoint" + "outlettype" : [ "bang" ], + "patching_rect" : [ 13.0, 10.0, 30.0, 30.0 ] } } ], "lines" : [ { - "patchline" : { - "destination" : [ "obj-42", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-41", 0 ], - "source" : [ "obj-2", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-24", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-26", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-43", 0 ], - "source" : [ "obj-34", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-35", 0 ] - } - - } -, { "patchline" : { "destination" : [ "obj-1", 0 ], - "source" : [ "obj-36", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-34", 0 ], - "source" : [ "obj-37", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "source" : [ "obj-38", 3 ] + "source" : [ "obj-12", 0 ] } } , { "patchline" : { - "destination" : [ "obj-35", 0 ], - "source" : [ "obj-38", 2 ] + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-34", 0 ] } } , { "patchline" : { - "destination" : [ "obj-36", 0 ], - "source" : [ "obj-38", 1 ] + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-7", 0 ] } } , { "patchline" : { - "destination" : [ "obj-37", 0 ], - "source" : [ "obj-38", 0 ] + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-9", 1 ] } } , { "patchline" : { - "destination" : [ "obj-38", 0 ], - "source" : [ "obj-40", 0 ] + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-9", 0 ] } - - } - ] - } -, - "patching_rect" : [ 592.0, 167.5, 368.0, 330.0 ], - "varname" : "bpatcher[1]", - "viewvisibility" : 1 - } - - } -, { - "box" : { - "id" : "obj-1", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 715.0, 525.0, 236.0, 23.0 ], - "text" : "fluid.dataset~ knnregress.help.mapping" - } - - } -, { - "box" : { - "id" : "obj-112", - "linecount" : 3, - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 341.0, 577.0, 345.0, 50.0 ], - "text" : "First we fit our source data and target (ramp to sine), then get the regressor to predict outputs for each test data point (an exponential curve)", - "textcolor" : [ 0.129412, 0.129412, 0.129412, 0.5 ] - } - - } -, { - "box" : { - "id" : "obj-110", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 49.0, 183.0, 409.0, 21.0 ], - "text" : "Run to demonstrate a simple mapping", - "textcolor" : [ 0.129412, 0.129412, 0.129412, 0.5 ] - } - - } -, { - "box" : { - "id" : "obj-107", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 117.0, 660.0, 154.0, 23.0 ], - "text" : "s knnregress.help.redraw" + + } + ] + } +, + "patching_rect" : [ 200.0, 210.0, 76.0, 23.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p sinusoid" } } , { "box" : { - "id" : "obj-106", + "id" : "obj-37", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "parameter_enable" : 0, - "patching_rect" : [ 17.0, 183.0, 24.0, 24.0 ] - } - - } -, { - "box" : { - "id" : "obj-104", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 117.0, 631.0, 81.0, 23.0 ], - "text" : "route predict" - } - - } -, { - "box" : { - "id" : "obj-103", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 17.0, 444.0, 34.0, 23.0 ], - "text" : "t b b" + "patching_rect" : [ 200.0, 170.0, 24.0, 24.0 ] } } , { "box" : { - "id" : "obj-102", + "color" : [ 0.423529411764706, 0.513725490196078, 1.0, 1.0 ], + "id" : "obj-26", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 17.0, 233.347824000000003, 59.0, 23.0 ], - "text" : "t b b" + "outlettype" : [ "", "" ], + "patching_rect" : [ 20.0, 250.0, 171.0, 23.0 ], + "text" : "fluid.dataset~ help.knnreg.in" } } , { "box" : { - "id" : "obj-101", + "id" : "obj-28", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, @@ -1849,14 +465,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 1, - "revision" : 11, + "minor" : 3, + "revision" : 0, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 59.0, 104.0, 640.0, 480.0 ], + "rect" : [ 1209.0, 461.0, 780.0, 637.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -1886,104 +502,94 @@ "assistshowspatchername" : 0, "boxes" : [ { "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 287.0, 275.0, 70.0, 22.0 ], - "text" : "route buffer" + "comment" : "", + "id" : "obj-3", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 103.5, 288.0, 30.0, 30.0 ] } } , { "box" : { - "id" : "obj-12", - "maxclass" : "newobj", + "id" : "obj-7", + "linecount" : 2, + "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 285.5, 305.0, 84.5, 22.0 ], - "text" : "join" + "patching_rect" : [ 103.5, 250.0, 161.0, 22.0 ], + "text" : "frombuffer help.knnreg.shape.1" } } , { "box" : { - "id" : "obj-10", + "id" : "obj-2", + "linecount" : 2, "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 289.0, 220.0, 29.5, 22.0 ], - "text" : "* 1." + "numinlets" : 3, + "numoutlets" : 0, + "patching_rect" : [ 157.0, 210.0, 140.0, 22.0 ], + "text" : "poke~ help.knnreg.shape.1" } } , { "box" : { - "id" : "obj-11", + "id" : "obj-1", + "linecount" : 2, "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 289.0, 176.0, 39.0, 22.0 ], - "text" : "/ 100." + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 302.0, 210.0, 218.0, 22.0 ], + "text" : "buffer~ help.knnreg.shape.1 @samps 100" } } , { "box" : { - "id" : "obj-9", + "id" : "obj-24", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "int" ], - "patching_rect" : [ 289.0, 150.0, 29.5, 22.0 ], + "patching_rect" : [ 157.0, 122.0, 42.0, 22.0 ], "text" : "t i i" } } , { "box" : { - "id" : "obj-8", + "id" : "obj-23", "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "list" ], - "patching_rect" : [ 285.5, 251.0, 72.0, 22.0 ], - "text" : "fluid.list2buf" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "button", - "numinlets" : 1, + "numinlets" : 6, "numoutlets" : 1, - "outlettype" : [ "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 256.0, 66.0, 24.0, 24.0 ] + "outlettype" : [ "" ], + "patching_rect" : [ 157.0, 166.0, 103.0, 22.0 ], + "text" : "scale 0. 100. 0. 1." } } , { "box" : { - "id" : "obj-1", + "id" : "obj-13", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 3, "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 251.0, 112.0, 57.0, 22.0 ], - "text" : "uzi 100 0" + "patching_rect" : [ 50.0, 84.0, 126.0, 22.0 ], + "text" : "uzi 100" } } , { "box" : { "comment" : "", - "id" : "obj-98", + "id" : "obj-34", "index" : 1, "maxclass" : "inlet", "numinlets" : 0, @@ -1992,145 +598,63 @@ "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] } - } -, { - "box" : { - "comment" : "", - "id" : "obj-100", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 285.5, 343.0, 30.0, 30.0 ] - } - } ], "lines" : [ { "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-1", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 1 ], - "order" : 0, - "source" : [ "obj-11", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "order" : 1, - "source" : [ "obj-11", 0 ] + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-13", 2 ] } } , { "patchline" : { - "destination" : [ "obj-100", 0 ], - "source" : [ "obj-12", 0 ] + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-13", 1 ] } } , { "patchline" : { - "destination" : [ "obj-12", 0 ], - "source" : [ "obj-2", 0 ] + "destination" : [ "obj-2", 0 ], + "midpoints" : [ 166.5, 190.0, 166.5, 190.0 ], + "source" : [ "obj-23", 0 ] } } , { "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-8", 0 ] + "destination" : [ "obj-2", 1 ], + "midpoints" : [ 189.5, 147.0, 264.0, 147.0, 264.0, 204.0, 227.0, 204.0 ], + "source" : [ "obj-24", 1 ] } } , { "patchline" : { - "destination" : [ "obj-11", 0 ], - "source" : [ "obj-9", 0 ] + "destination" : [ "obj-23", 0 ], + "source" : [ "obj-24", 0 ] } } , { "patchline" : { - "destination" : [ "obj-12", 1 ], - "source" : [ "obj-9", 1 ] + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-34", 0 ] } } , { "patchline" : { - "destination" : [ "obj-1", 0 ], - "source" : [ "obj-98", 0 ] + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-7", 0 ] } } - ], - "styles" : [ { - "name" : "max6box", - "default" : { - "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], - "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "max6inlet", - "default" : { - "color" : [ 0.423529, 0.372549, 0.27451, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "max6message", - "default" : { - "bgfillcolor" : { - "type" : "gradient", - "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], - "color2" : [ 0.788235, 0.788235, 0.788235, 1.0 ], - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, - "proportion" : 0.39, - "autogradient" : 0 - } -, - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] - } -, - "parentstyle" : "max6box", - "multi" : 0 - } -, { - "name" : "max6outlet", - "default" : { - "color" : [ 0.0, 0.454902, 0.498039, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } ] } , - "patching_rect" : [ 57.0, 345.0, 114.0, 23.0 ], + "patching_rect" : [ 20.0, 210.0, 94.0, 23.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -2138,101 +662,173 @@ "tags" : "" } , - "text" : "p make test points" + "text" : "p \"linear ramp\"" + } + + } +, { + "box" : { + "id" : "obj-29", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 20.0, 170.0, 24.0, 24.0 ] + } + + } +, { + "box" : { + "color" : [ 0.254901960784314, 0.905882352941176, 0.450980392156863, 1.0 ], + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 390.0, 250.0, 194.0, 23.0 ], + "text" : "fluid.dataset~ help.knnreg.query" + } + + } +, { + "box" : { + "buffername" : "u302010546", + "gridcolor" : [ 0.349019607843137, 0.349019607843137, 0.349019607843137, 0.0 ], + "id" : "obj-21", + "maxclass" : "waveform~", + "numinlets" : 5, + "numoutlets" : 6, + "outlettype" : [ "float", "float", "float", "float", "list", "" ], + "patching_rect" : [ 20.0, 680.0, 260.0, 40.0 ], + "selectioncolor" : [ 0.929411764705882, 0.929411764705882, 0.352941176470588, 0.0 ] } } , { "box" : { - "id" : "obj-90", + "id" : "obj-20", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 368.5, 525.0, 290.0, 23.0 ], - "text" : "fit knnregress.help.source knnregress.help.target" + "patching_rect" : [ 20.0, 640.0, 44.0, 23.0 ], + "text" : "set $2" } } , { "box" : { - "id" : "obj-77", + "id" : "obj-10", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 57.0, 377.0, 95.0, 23.0 ], - "text" : "addpoint $2 $1" + "patching_rect" : [ 20.0, 560.0, 52.0, 23.0 ], + "text" : "tobuffer" } } , { "box" : { - "id" : "obj-66", - "maxclass" : "button", + "id" : "obj-4", + "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 64.0, 310.0, 24.0, 24.0 ] + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 20.0, 600.0, 200.0, 23.0 ], + "text" : "fluid.dataset~ help.knnreg.predict" } } , { "box" : { - "id" : "obj-62", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "", "", "" ], - "patching_rect" : [ 498.0, 336.0, 40.0, 23.0 ], - "text" : "t l l l" + "buffername" : "help.knnreg.shape.3", + "gridcolor" : [ 0.349019607843137, 0.349019607843137, 0.349019607843137, 0.0 ], + "id" : "obj-1", + "maxclass" : "waveform~", + "numinlets" : 5, + "numoutlets" : 6, + "outlettype" : [ "float", "float", "float", "float", "list", "" ], + "patching_rect" : [ 390.0, 290.0, 179.0, 40.0 ], + "selectioncolor" : [ 0.929411764705882, 0.929411764705882, 0.352941176470588, 0.0 ], + "waveformcolor" : [ 0.254901960784314, 0.905882352941176, 0.450980392156863, 1.0 ] } } , { "box" : { - "id" : "obj-60", + "id" : "obj-42", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 388.0, 372.0, 95.0, 23.0 ], - "text" : "addpoint $2 $1" + "patching_rect" : [ 72.5, 430.0, 269.0, 23.0 ], + "text" : "predict help.knnreg.query help.knnreg.predict" } } , { "box" : { - "id" : "obj-51", + "id" : "obj-32", "maxclass" : "newobj", - "numinlets" : 1, + "numinlets" : 3, "numoutlets" : 3, - "outlettype" : [ "bang", "bang", "clear" ], - "patching_rect" : [ 57.0, 264.0, 353.0, 23.0 ], - "text" : "t b b clear" + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 20.0, 520.0, 150.0, 23.0 ], + "text" : "route predict fit" + } + + } +, { + "box" : { + "buffername" : "help.knnreg.shape.2", + "gridcolor" : [ 0.349019607843137, 0.349019607843137, 0.349019607843137, 0.0 ], + "id" : "obj-39", + "maxclass" : "waveform~", + "numinlets" : 5, + "numoutlets" : 6, + "outlettype" : [ "float", "float", "float", "float", "list", "" ], + "patching_rect" : [ 200.0, 290.0, 164.0, 40.0 ], + "selectioncolor" : [ 0.929411764705882, 0.929411764705882, 0.352941176470588, 0.0 ], + "waveformcolor" : [ 1.0, 0.43921568627451, 0.662745098039216, 1.0 ] + } + + } +, { + "box" : { + "buffername" : "help.knnreg.shape.1", + "gridcolor" : [ 0.349019607843137, 0.349019607843137, 0.349019607843137, 0.0 ], + "id" : "obj-38", + "maxclass" : "waveform~", + "numinlets" : 5, + "numoutlets" : 6, + "outlettype" : [ "float", "float", "float", "float", "list", "" ], + "patching_rect" : [ 20.0, 290.0, 156.0, 40.0 ], + "selectioncolor" : [ 0.929411764705882, 0.929411764705882, 0.352941176470588, 0.0 ], + "waveformcolor" : [ 0.423529411764706, 0.513725490196078, 1.0, 1.0 ] } } , { "box" : { - "id" : "obj-50", + "id" : "obj-36", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], + "numoutlets" : 1, + "outlettype" : [ "" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 1, - "revision" : 11, + "minor" : 3, + "revision" : 0, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 59.0, 104.0, 716.0, 617.0 ], + "rect" : [ 459.0, 490.0, 780.0, 637.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -2260,449 +856,179 @@ "style" : "", "subpatcher_template" : "", "assistshowspatchername" : 0, - "boxes" : [ { - "box" : { - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 81.0, 295.0, 70.0, 22.0 ], - "text" : "route buffer" - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "", "" ], - "patching_rect" : [ 289.0, 285.0, 70.0, 22.0 ], - "text" : "route buffer" - } - - } -, { - "box" : { - "id" : "obj-35", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 72.5, 329.0, 75.5, 22.0 ], - "text" : "join" - } - - } -, { - "box" : { - "id" : "obj-34", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "list" ], - "patching_rect" : [ 84.5, 264.0, 72.0, 22.0 ], - "text" : "fluid.list2buf" - } - - } -, { - "box" : { - "id" : "obj-31", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "list" ], - "patching_rect" : [ 287.5, 247.0, 72.0, 22.0 ], - "text" : "fluid.list2buf" - } - - } -, { - "box" : { - "id" : "obj-29", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 4, - "outlettype" : [ "int", "int", "int", "int" ], - "patching_rect" : [ 256.0, 159.5, 50.5, 22.0 ], - "text" : "t i i i i" - } - - } -, { - "box" : { - "id" : "obj-28", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 287.5, 329.0, 75.5, 22.0 ], - "text" : "join" - } - - } -, { - "box" : { - "id" : "obj-27", - "maxclass" : "newobj", - "numinlets" : 3, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 88.0, 225.0, 136.0, 22.0 ], - "text" : "peek~ knnregress.sinus" - } - - } -, { + "boxes" : [ { "box" : { - "id" : "obj-26", + "id" : "obj-4", "maxclass" : "newobj", - "numinlets" : 3, + "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "float" ], - "patching_rect" : [ 287.5, 207.0, 151.0, 22.0 ], - "text" : "peek~ knnregress.srcramp" + "patching_rect" : [ 81.0, 194.0, 41.0, 22.0 ], + "text" : "pow 2" } } , { "box" : { - "id" : "obj-25", - "maxclass" : "newobj", + "comment" : "", + "id" : "obj-3", + "index" : 1, + "maxclass" : "outlet", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 346.0, 73.0, 32.0, 22.0 ], - "text" : "t b b" + "numoutlets" : 0, + "patching_rect" : [ 65.5, 344.0, 30.0, 30.0 ] } } , { "box" : { - "fontname" : "Arial", - "fontsize" : 13.0, - "id" : "obj-24", + "id" : "obj-7", + "linecount" : 2, "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 469.0, 290.0, 52.0, 23.0 ], - "text" : "fill sin 1" + "patching_rect" : [ 65.5, 306.0, 161.0, 22.0 ], + "text" : "frombuffer help.knnreg.shape.3" } } , { "box" : { - "fontname" : "Arial", - "fontsize" : 13.0, - "id" : "obj-23", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 469.0, 202.0, 309.0, 23.0 ], - "text" : "fill 1, apply triangle half, apply gain -1, apply offset 1" + "id" : "obj-2", + "linecount" : 2, + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 0, + "patching_rect" : [ 81.0, 248.0, 140.0, 22.0 ], + "text" : "poke~ help.knnreg.shape.3" } } , { "box" : { - "id" : "obj-20", + "id" : "obj-1", + "linecount" : 2, "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 469.0, 342.0, 214.0, 22.0 ], - "text" : "buffer~ knnregress.sinus @samps 100" + "patching_rect" : [ 225.0, 248.0, 218.0, 22.0 ], + "text" : "buffer~ help.knnreg.shape.3 @samps 100" } } , { "box" : { - "id" : "obj-19", + "id" : "obj-24", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 469.0, 247.0, 230.0, 22.0 ], - "text" : "buffer~ knnregress.srcramp @samps 100" + "outlettype" : [ "int", "int" ], + "patching_rect" : [ 81.0, 121.0, 42.0, 22.0 ], + "text" : "t i i" } } , { "box" : { - "id" : "obj-14", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 528.0, 133.0, 150.0, 20.0 ], - "text" : "2pi" + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 81.0, 151.0, 39.0, 22.0 ], + "text" : "/ 100." } } , { "box" : { - "id" : "obj-1", + "id" : "obj-13", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 3, "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 104.0, 112.0, 171.0, 22.0 ], - "text" : "uzi 100 0" - } - - } -, { - "box" : { - "id" : "obj-6", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 191.0, 401.697266000000013, 67.0, 20.0 ], - "text" : "to target" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 346.0, 401.697266000000013, 65.0, 20.0 ], - "text" : "to data set" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-3", - "index" : 2, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 307.0, 401.697266000000013, 30.0, 30.0 ] + "patching_rect" : [ 50.0, 84.0, 50.0, 22.0 ], + "text" : "uzi 100" } } , { "box" : { "comment" : "", - "id" : "obj-48", + "id" : "obj-34", "index" : 1, "maxclass" : "inlet", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 158.0, 40.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-49", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 138.0, 396.697266000000013, 30.0, 30.0 ] + "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ] } } ], "lines" : [ { "patchline" : { - "destination" : [ "obj-29", 0 ], - "source" : [ "obj-1", 2 ] + "destination" : [ "obj-24", 0 ], + "source" : [ "obj-13", 2 ] } } , { "patchline" : { - "destination" : [ "obj-28", 0 ], - "source" : [ "obj-2", 0 ] + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-13", 1 ] } } , { "patchline" : { - "destination" : [ "obj-19", 0 ], + "destination" : [ "obj-4", 0 ], "source" : [ "obj-23", 0 ] } } , { "patchline" : { - "destination" : [ "obj-20", 0 ], - "source" : [ "obj-24", 0 ] + "destination" : [ "obj-2", 1 ], + "midpoints" : [ 113.5, 144.0, 195.0, 144.0, 195.0, 234.0, 151.0, 234.0 ], + "source" : [ "obj-24", 1 ] } } , { "patchline" : { "destination" : [ "obj-23", 0 ], - "source" : [ "obj-25", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-24", 0 ], - "source" : [ "obj-25", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-31", 0 ], - "source" : [ "obj-26", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-34", 0 ], - "source" : [ "obj-27", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "source" : [ "obj-28", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-26", 0 ], - "source" : [ "obj-29", 2 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-27", 0 ], - "source" : [ "obj-29", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-28", 1 ], - "source" : [ "obj-29", 3 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-35", 1 ], - "source" : [ "obj-29", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-2", 0 ], - "source" : [ "obj-31", 0 ] + "source" : [ "obj-24", 0 ] } } , { "patchline" : { - "destination" : [ "obj-4", 0 ], + "destination" : [ "obj-13", 0 ], "source" : [ "obj-34", 0 ] } } , { "patchline" : { - "destination" : [ "obj-49", 0 ], - "source" : [ "obj-35", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-35", 0 ], + "destination" : [ "obj-2", 0 ], "source" : [ "obj-4", 0 ] } } , { "patchline" : { - "destination" : [ "obj-1", 0 ], - "order" : 1, - "source" : [ "obj-48", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-25", 0 ], - "order" : 0, - "source" : [ "obj-48", 0 ] + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-7", 0 ] } } - ], - "styles" : [ { - "name" : "max6box", - "default" : { - "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], - "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "max6inlet", - "default" : { - "color" : [ 0.423529, 0.372549, 0.27451, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } -, { - "name" : "max6message", - "default" : { - "bgfillcolor" : { - "type" : "gradient", - "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], - "color2" : [ 0.788235, 0.788235, 0.788235, 1.0 ], - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, - "proportion" : 0.39, - "autogradient" : 0 - } -, - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] - } -, - "parentstyle" : "max6box", - "multi" : 0 - } -, { - "name" : "max6outlet", - "default" : { - "color" : [ 0.0, 0.454902, 0.498039, 1.0 ] - } -, - "parentstyle" : "", - "multi" : 0 - } ] } , - "patching_rect" : [ 224.0, 321.0, 183.0, 23.0 ], + "patching_rect" : [ 390.0, 210.0, 128.0, 23.0 ], "saved_object_attributes" : { "description" : "", "digest" : "", @@ -2710,82 +1036,64 @@ "tags" : "" } , - "text" : "p make examples" - } - - } -, { - "box" : { - "id" : "obj-16", - "linecount" : 2, - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 57.0, 444.0, 157.0, 38.0 ], - "text" : "fluid.dataset~ knnregress.help.testdata" + "text" : "p \"exponential ramp\"" } } , { "box" : { - "id" : "obj-15", - "linecount" : 2, - "maxclass" : "newobj", + "id" : "obj-30", + "maxclass" : "button", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 388.0, 444.0, 183.0, 38.0 ], - "text" : "fluid.dataset~ knnregress.help.source" + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 390.0, 170.0, 24.0, 24.0 ] } } , { "box" : { - "id" : "obj-8", - "linecount" : 2, - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "bang", "float", "" ], - "patching_rect" : [ 224.0, 444.0, 158.0, 38.0 ], - "text" : "fluid.dataset~ knnregress.help.target" + "id" : "obj-9", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 40.0, 390.0, 197.0, 23.0 ], + "text" : "fit help.knnreg.in help.knnreg.out" } } , { "box" : { - "id" : "obj-6", + "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 3, - "outlettype" : [ "list", "float", "" ], - "patching_rect" : [ 17.0, 572.0, 304.0, 23.0 ], - "text" : "fluid.knnregressor~ @numneighbours 2 @weight 0" - } - - } -, { - "box" : { - "id" : "obj-5", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 17.0, 525.0, 345.0, 23.0 ], - "text" : "predict knnregress.help.testdata knnregress.help.mapping" + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 20.0, 480.0, 119.0, 23.0 ], + "text" : "fluid.knnregressor~" } } , { "box" : { + "args" : [ "knnregressor" ], + "bgmode" : 0, + "border" : 0, + "clickthrough" : 0, + "enablehscroll" : 0, + "enablevscroll" : 0, "id" : "obj-46", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 224.0, 372.0, 95.0, 23.0 ], - "text" : "addpoint $2 $1" + "lockeddragscroll" : 0, + "lockedsize" : 0, + "maxclass" : "bpatcher", + "name" : "fluid.learn.maxpat", + "numinlets" : 0, + "numoutlets" : 0, + "offset" : [ 0.0, 0.0 ], + "patching_rect" : [ 426.0, 10.0, 259.0, 100.0 ], + "viewvisibility" : 1 } } @@ -2801,184 +1109,159 @@ "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, - "patching_rect" : [ 10.0, 10.0, 561.0, 133.0 ] + "patching_rect" : [ 10.0, 10.0, 414.0, 100.0 ] } } ], "lines" : [ { "patchline" : { - "destination" : [ "obj-77", 0 ], - "source" : [ "obj-101", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-103", 0 ], - "source" : [ "obj-102", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-51", 0 ], - "source" : [ "obj-102", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-103", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-90", 0 ], - "midpoints" : [ 41.5, 511.5, 378.0, 511.5 ], - "source" : [ "obj-103", 1 ] + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-10", 0 ] } } , { "patchline" : { - "destination" : [ "obj-107", 0 ], - "source" : [ "obj-104", 0 ] + "destination" : [ "obj-3", 0 ], + "midpoints" : [ 29.5, 375.0, 29.5, 375.0 ], + "source" : [ "obj-12", 0 ] } } , { "patchline" : { - "destination" : [ "obj-102", 0 ], - "source" : [ "obj-106", 0 ] + "destination" : [ "obj-21", 0 ], + "source" : [ "obj-20", 0 ] } } , { "patchline" : { - "destination" : [ "obj-8", 0 ], - "source" : [ "obj-46", 0 ] + "destination" : [ "obj-26", 0 ], + "midpoints" : [ 29.5, 234.0, 29.5, 234.0 ], + "source" : [ "obj-28", 0 ] } } , { "patchline" : { - "destination" : [ "obj-6", 0 ], - "source" : [ "obj-5", 0 ] + "destination" : [ "obj-28", 0 ], + "midpoints" : [ 29.5, 195.0, 29.5, 195.0 ], + "source" : [ "obj-29", 0 ] } } , { "patchline" : { - "destination" : [ "obj-46", 0 ], - "source" : [ "obj-50", 0 ] + "destination" : [ "obj-32", 0 ], + "midpoints" : [ 29.5, 526.0, 29.5, 526.0 ], + "source" : [ "obj-3", 0 ] } } , { "patchline" : { - "destination" : [ "obj-60", 0 ], - "source" : [ "obj-50", 1 ] + "destination" : [ "obj-36", 0 ], + "midpoints" : [ 399.5, 196.0, 399.5, 196.0 ], + "source" : [ "obj-30", 0 ] } } , { "patchline" : { - "destination" : [ "obj-101", 0 ], - "source" : [ "obj-51", 0 ] + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-32", 0 ] } } , { "patchline" : { - "destination" : [ "obj-50", 0 ], - "source" : [ "obj-51", 1 ] + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-32", 1 ] } } , { "patchline" : { - "destination" : [ "obj-62", 0 ], - "midpoints" : [ 400.5, 311.0, 507.5, 311.0 ], - "source" : [ "obj-51", 2 ] + "destination" : [ "obj-31", 0 ], + "midpoints" : [ 209.5, 235.0, 209.5, 235.0 ], + "source" : [ "obj-33", 0 ] } } , { "patchline" : { - "destination" : [ "obj-104", 0 ], - "source" : [ "obj-6", 2 ] + "destination" : [ "obj-5", 0 ], + "midpoints" : [ 399.5, 235.0, 399.5, 235.0 ], + "source" : [ "obj-36", 0 ] } } , { "patchline" : { - "destination" : [ "obj-15", 0 ], - "source" : [ "obj-60", 0 ] + "destination" : [ "obj-33", 0 ], + "midpoints" : [ 209.5, 196.0, 209.5, 196.0 ], + "source" : [ "obj-37", 0 ] } } , { "patchline" : { - "destination" : [ "obj-15", 0 ], - "midpoints" : [ 528.5, 432.0, 397.5, 432.0 ], - "source" : [ "obj-62", 2 ] + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-4", 0 ] } } , { "patchline" : { - "destination" : [ "obj-16", 0 ], - "midpoints" : [ 507.5, 407.0, 66.5, 407.0 ], - "source" : [ "obj-62", 0 ] + "destination" : [ "obj-3", 0 ], + "midpoints" : [ 82.0, 465.0, 29.5, 465.0 ], + "source" : [ "obj-42", 0 ] } } , { "patchline" : { - "destination" : [ "obj-8", 0 ], - "midpoints" : [ 518.0, 420.0, 233.5, 420.0 ], - "source" : [ "obj-62", 1 ] + "destination" : [ "obj-29", 0 ], + "midpoints" : [ 29.5, 144.0, 29.5, 144.0 ], + "order" : 2, + "source" : [ "obj-6", 0 ] } } , { "patchline" : { - "destination" : [ "obj-101", 0 ], - "source" : [ "obj-66", 0 ] + "destination" : [ "obj-30", 0 ], + "midpoints" : [ 29.5, 155.0, 399.5, 155.0 ], + "order" : 0, + "source" : [ "obj-6", 0 ] } } , { "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-77", 0 ] + "destination" : [ "obj-37", 0 ], + "midpoints" : [ 29.5, 155.0, 209.5, 155.0 ], + "order" : 1, + "source" : [ "obj-6", 0 ] } } , { "patchline" : { - "destination" : [ "obj-7", 0 ], + "destination" : [ "obj-3", 0 ], + "midpoints" : [ 49.5, 465.0, 29.5, 465.0 ], "source" : [ "obj-9", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-6", 0 ], - "midpoints" : [ 378.0, 559.5, 26.5, 559.5 ], - "source" : [ "obj-90", 0 ] - } - } ], "styles" : [ { "name" : "max6box", "default" : { - "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], "accentcolor" : [ 0.8, 0.839216, 0.709804, 1.0 ], + "bgcolor" : [ 1.0, 1.0, 1.0, 0.5 ], "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] } , @@ -2998,13 +1281,13 @@ "name" : "max6message", "default" : { "bgfillcolor" : { - "type" : "gradient", + "angle" : 270.0, + "autogradient" : 0, + "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], "color1" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "color2" : [ 0.788235, 0.788235, 0.788235, 1.0 ], - "color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], - "angle" : 270.0, "proportion" : 0.39, - "autogradient" : 0 + "type" : "gradient" } , "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] @@ -3049,14 +1332,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 1, - "revision" : 11, + "minor" : 3, + "revision" : 0, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 0.0, 26.0, 967.0, 706.0 ], + "rect" : [ 0.0, 26.0, 995.0, 751.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -3104,25 +1387,6 @@ } ], "lines" : [ ], - "dependency_cache" : [ { - "name" : "helpdetails.js", - "bootpath" : "C74:/help/resources", - "type" : "TEXT", - "implicit" : 1 - } -, { - "name" : "fluid.libmanipulation.mxo", - "type" : "iLaX" - } -, { - "name" : "fluid.libmanipulation.mxo", - "type" : "iLaX" - } -, { - "name" : "fluid.list2buf.mxo", - "type" : "iLaX" - } - ], "autosave" : 0 }