Eddie
Eddie

Reputation: 45

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

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

Upvotes: 1

Views: 816

Answers (1)

Tinu
Tinu

Reputation: 2523

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.

Upvotes: 2

Related Questions