Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KNN classifier save seems capped at around 4000 examples #405

Closed
fartass opened this issue May 30, 2019 · 1 comment
Closed

KNN classifier save seems capped at around 4000 examples #405

fartass opened this issue May 30, 2019 · 1 comment

Comments

@fartass
Copy link

fartass commented May 30, 2019

β†’ Description πŸ“

I either found a bug πŸ› or the KNN classifier save is capped at around 4000 examples intentionally.

β†’ Helpful Information πŸ¦„

I am generating my own data for the KNN classifier by making new examples, knnClassifier.getCountByLabel(); holds more than 4000. But the save file stays about the same as before the new examples and the amount of examples are not increased when I load the new model.json. So it can only save 4000 examples perhaps?

@fartass fartass changed the title KNN classifier seems capped at around 4000 examples KNN classifier save seems capped at around 4000 examples May 30, 2019
@sproutleaf
Copy link
Contributor

Closing this issue. Documentation will be updated correspondingly in ml5js/ml5-website-archive#193.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants