Re: [scikit-learn] control value range of MLPRegressor predictions

2017-09-10 Thread Thomas Evangelidis
On 10 September 2017 at 22:03, Sebastian Raschka wrote: > You could normalize the outputs (e.g., via min-max scaling). However, I > think the more intuitive way would be to clip the predictions. E.g., say > you are predicting house prices, it probably makes no sense to have

Re: [scikit-learn] control value range of MLPRegressor predictions

2017-09-10 Thread Sebastian Raschka
You could normalize the outputs (e.g., via min-max scaling). However, I think the more intuitive way would be to clip the predictions. E.g., say you are predicting house prices, it probably makes no sense to have a negative prediction, so you would clip the output at some value >0$ PS: -820

[scikit-learn] control value range of MLPRegressor predictions

2017-09-10 Thread Thomas Evangelidis
Greetings, Is there any way to force the MLPRegressor to make predictions in the same value range as the training data? For example, if the training data range between -5 and -9, I don't want the predictions to range between -820 and -800. In fact, some times I get anti-correlated predictions,