Hi,
You can train a classifier then use predict_proba to ouput probabilities.
Classifiers with predict_proba support include LogisticRegression,
MultinomialNaiveBayes and DecisionTreeClassifier.
HTH,
Mathieu
On Mon, Jul 1, 2013 at 4:54 PM, Gene Kogan <[email protected]> wrote:
> I have a regression task where I have to assign a continous label between
> 0 and 1, but my training set contains only binary labels, 0s and 1s.
> Should I treat this as a classification problem and map the labels to a
> continous line via some confidence metric (if it's available) or is there a
> regression algorithm which can be trained on binary labels? What
> scikits-learn methods will help me achieve this? Thanks!
>
> best,
> gene
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general