Phaune
Phaune

Reputation: 45

Retreive layers from MLPRegressor

Is it possible to extract all the layers from an object of the class sklearn.neural_network.MLPRegressor once trained, to used them in another situation ?

The class has a function get_params that only returns the parameters but not the layers matrix.

Upvotes: 0

Views: 670

Answers (1)

Phaune
Phaune

Reputation: 45

I found out on my own, the MLPRegressor class has an attribute coefs_ that can be retreived.

Upvotes: 1

Related Questions