Hi there,

I would like to train a logistic regression model on a continuous (i.e.,
not categorical) target variable. The target is a probability, which is why
I am using a logistic regression for this problem. However, the sklearn
function tries to find the class labels by running a unique() on the target
values, which is disastrous if y is continuous.

Is there a way to train logistic regression on a continuous target variable
in sklearn?

Any help is highly appreciated.

Best,

George.

-- 
George Bezerra
------------------------------------------------------------------------------
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to