Hi,

I'm trying to .score() semi_supervised.LabelPropagation on continuous
labels but it's not working since BaseLabelPropagation is inheriting from
ClassifierMixin. Despite that, it's written at label_propagation.html
<http://scikit-learn.org/stable/modules/label_propagation.html> that it "Can
be used for classification and regression tasks".

Am I missing something or do I have to convert my continuous labels into
categorical labels ?
If I want to do some coding what is the best way to make
semi_supervised.BaseLabelPropagation inherit from both ClassifierMixin and
RegressorMixin ?

Thanks a lot for your help.

Thomas POCREAU
Ecole des Mines de Nantes - GIPAD
------------------------------------------------------------------------------
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to