Skip to content

Commit 3863574

Browse files
yining1023cvalenzuela
authored andcommitted
KNN Classifier (#171)
* added KNNClassifier class, and getFeatures method in ImageClassifier * added knnclassifer.loaddataset, and savedataset from/as json file * added featureExtractor.infer() to take in p5 videoelement * support callback, and add 'label' for each class * added getClassExampleCountByLabel, support label when save/load dataset * update function naming, predictClass to classify, classLabel to label
1 parent f471eec commit 3863574

File tree

7 files changed

+611
-389
lines changed

7 files changed

+611
-389
lines changed

0 commit comments

Comments
 (0)