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

Method to clear classifier #12

Open
cryptiklemur opened this issue Feb 24, 2017 · 3 comments
Open

Method to clear classifier #12

cryptiklemur opened this issue Feb 24, 2017 · 3 comments

Comments

@cryptiklemur
Copy link

Would it be too much trouble to make a public method that clears all the learned phrases?

@metalvexis
Copy link

The last commit for this was on May 2, 2016.
This project is either dead or done so don't get your hopes up.

@derhuerst
Copy link

@aequasi why not create a new classifier instead?

@noogen
Copy link

noogen commented Sep 11, 2017

I ported this library into PHP and added the reset method. https://github.com/niiknow/bayes/blob/master/src/Bayes.php#L63

This is simply move everything in the constructor into it's own method and call that from the constructor. But derhuerst has a better workaround/suggestion.

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

No branches or pull requests

4 participants