If people aren't really tired of my spamming the mailing list yet...

I am trying to use the cross_val_score() function, return the accuracies,
and then save the model to disk for later use/testing. However, the models
that are written to disk are not trained models - they are just bare
instances of the classifier's class. I discovered this when I tried to save
a graph of the decision tree and the model had no tree, but the same thing
occurs with Gaussian Bayes, Bernoulli Bayes, and k-Nearest Neighbors as
well as the Decision Tree.

Is there a way to get the trained classifier that I'm missing? Without the
ability to save the classifier, this becomes a pretty useless function.
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to