[scikit-learn] custom loss function

Andreas Mueller t3kcit at gmail.com
Wed Sep 13 14:46:50 EDT 2017

On 09/13/2017 01:18 PM, Thomas Evangelidis wrote:
> ​​
> Thanks again for the clarifications Sebastian!
> Keras has a Scikit-learn API with the KeraRegressor which implements 
> the Scikit-Learn MLPRegressor interface:
> https://keras.io/scikit-learn-api/
> Is it possible to change the loss function in KerasRegressor? I don't 
> have time right now to experiment with hyperparameters of new ANN 
> architectures. I am in urgent need to reproduce in Keras the results 
> obtained with MLPRegressor and the set of hyperparameters that I have 
> optimized for my problem and later change the loss function.
I think using keras is probably the way to go for you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20170913/3330e939/attachment-0001.html>

More information about the scikit-learn mailing list