Hi,

The difference between multi-label and multi-class is explained here
http://scikit-learn.org/stable/modules/multiclass.html 
<http://scikit-learn.org/stable/modules/multiclass.html>

Basically to treat a problem as multi-class, you give a one dimensional
output vector and when you have a multi-label problem, you use
a 2 dimensional array of shape (n_samples, n_labels).

Best regards,
Arnaud Joly



> On 03 Jul 2015, at 14:48, Prabhanshu Abhishek <prabhans...@gmail.com> wrote:
> 
> 
> Sir,
> I am using Scikit-learn for large scale item classification, which is 
> multiclass and multilabel. I was searching for module or function for 
> implementing knn and random forest, but only i can find module for multiclass 
> and single label. 
> Can you please explain how to scikit learn for multi label and multiclass 
> classification.
> 
> Thanking you,
> Prabhanshu Abhishek
> 
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/_______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to