-
Notifications
You must be signed in to change notification settings - Fork 860
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
MaxEnt, how to load a saved classifier ? #489
Labels
Comments
Please have a look at https:/NaturalNode/natural/blob/master/io_spec/MaxEntClassifier_spec.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How can i load a Maxent classifier stored using "save" ?
const classifier = new MaxEntClassifier(featureSet, sample);
classifier.save(, function(err, classifier) {})
do i have to instantiate a classifier again to load with "new" ?
I don't see a static function available on MaxEntClassifier.
I am loading from a different file in a different process, so don't have access to the previous instance of classifier.
I am looking for something similar to the 1 below for log. regression
require('natural').LogisticRegressionClassifier.load(,
null,
function(err, classifier) {})
The text was updated successfully, but these errors were encountered: