2013/8/12 A <[email protected]>: > --> To summarize is there a way to get a list of predicted categories (by > likelihood) so as to get the next best category? Or the best category > within a subset of original categories without training a separate > classifier. I am currently using OneVsRestClassifier(SGDClassifier) since I > need to utilize each category classifier.
Use the predict_proba method, or decision_function, depending on the model (for SGD, decision_function always works). Btw., if you're not doing multilabel, then you don't need OneVsRestClassifier. -- Lars Buitinck Scientific programmer, ILPS University of Amsterdam ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
