Home > Mobile >  How to change mlp (multilayer perceptron) loss function in sklearn?
How to change mlp (multilayer perceptron) loss function in sklearn?

Time:12-30

What is default loss function in MLPRegressor? MSE? How to change mlp (multilayer perceptron) loss function in sklearn?

CodePudding user response:

From the official documentation:

This model optimizes the squared error using LBFGS or stochastic gradient descent.

I don't think you can change the loss function. For other loss functions it would be better to use PyTorch or Keras.

  • Related