[scikit-learn] Fwd: Scikit-learn MLPRegressor Help

Alekh Karkada Ashok alekhka at gmail.com
Sat Dec 3 04:38:00 EST 2016


Hi all,

I want use the Scikit-learn's MLPRegressor to map image to image. That is I
have a numpy array of size [1000,2030400] (1000 samples, 76800x3 (RGB)
pixels). Corresponding labelled images I have. Therefore Y is also
[1000,230400]. But according to documentation:

*fit(X, y)*
Fit the model to data matrix X and target y.

*Parameters:*
*X :  *{array-like, sparse matrix}, shape (n_samples, n_features)
The input data.
*y :  *array-like, shape (n_samples,)
The target values.

*Returns:*
self : returns a trained MLP model.
We can see that Y should be a column matrix. Does this mean Scikit-learn
doesn't support multiple outputs?
I am getting MemoryError when I try to fit now.
More: http://stackoverflow.com/questions/40945791/
memoryerror-in-scikit-learn
Please help.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20161203/edbd6420/attachment.html>


More information about the scikit-learn mailing list