aboutsummaryrefslogtreecommitdiff
path: root/knn/help-knn.pd
diff options
context:
space:
mode:
authorJamie Bullock <postlude@users.sourceforge.net>2008-02-16 11:22:24 +0000
committerJamie Bullock <postlude@users.sourceforge.net>2008-02-16 11:22:24 +0000
commitf8ccc253ee14685c37952058ab3d9adb1704f8d3 (patch)
treed8b1eea860eb5d52626df18ee31a7575103fc013 /knn/help-knn.pd
parent99abaa687d4dcab89d1a295dbd909c60c7114f7d (diff)
[knn] by Fujinaga and MacMillan, initial commit
svn path=/trunk/externals/postlude/; revision=9446
Diffstat (limited to 'knn/help-knn.pd')
-rw-r--r--knn/help-knn.pd23
1 files changed, 23 insertions, 0 deletions
diff --git a/knn/help-knn.pd b/knn/help-knn.pd
new file mode 100644
index 0000000..14b8e5c
--- /dev/null
+++ b/knn/help-knn.pd
@@ -0,0 +1,23 @@
+#N canvas 552 184 590 372 10;
+#X obj 73 247 knn;
+#X msg 142 125 normal 0;
+#X msg 142 145 normal 1;
+#X msg 144 200 learn 0;
+#X msg 143 179 learn 1 \$1;
+#X msg 145 226 save databasename;
+#X msg 145 247 read databasename;
+#X msg 141 101 readweights weightfilename;
+#X floatatom 73 281 4 0 0;
+#X text 38 30 k-NN Object This is an implementation of the k Nearest Neighbor algorithm that can be used to classify objects by a feature vector.;
+#X text 318 102 Read feature weight table;
+#X text 217 134 Turn on and off normalization - normalization should be on when reading a file and off when training;
+#X text 233 181 Turn learning mode on and off - the second argument to 'learn 1' is number of the class for the input.;
+#X text 281 236 read and save the database as a textfile;
+#X connect 0 0 8 0;
+#X connect 1 0 0 0;
+#X connect 2 0 0 0;
+#X connect 3 0 0 0;
+#X connect 4 0 0 0;
+#X connect 5 0 0 0;
+#X connect 6 0 0 0;
+#X connect 7 0 0 0;