On Wed, Oct 26, 2011 at 11:22 PM, SK Sn <[email protected]> wrote: > Hi there, I am looking into how to implement multi-label > text classification. > Generally, am training models just as normal multi-class classification, but > for predication/test, I want to make it multi-label, i.e. getting more than > one labels for predication on a given test item.
In my opinion, multi-label classification should definitely be added to the mid-term todo list for scikit-learn. We will have to discuss what are the implications in terms of API. For example, in fit, we could pass Y as as 2d sparse matrix. Prediction will be more problematic... In the mean time, you need to implement multi-label classification by yourself. To do that, you need to use methods like predict_proba or decision_function which gives you a score for each class. We are in the process of unifying score methods in a new method which will be called predict_scores. > A final off-topic question is, as I noticed this mailing list is more for > developing coordination, am I suppose to post question like this to > stackoverflow or some other places? Also, communications in mailing list > seems to be not SEO optimized so that others hardly can search and get > to the contents in the mailing list. This may be a waste of resources. No the mailing-list is for both user and developer discussion. For strictly ML question which do not directly concern scikit-learn, I'd recommend to post on Metaoptimize though. Mathieu ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
