Add
Add

Reputation: 627

MLP Classifier in SKlearn to include "softmax" activation

I am trying to fit MLP model but I would like to use 'SOFTMAX' as an output layer. Could you please let me know how can I incorporate the same?

Upvotes: 0

Views: 2110

Answers (1)

Add
Add

Reputation: 627

"softmax can be used as an output function within sklearn as follow.

mlp.out_activation_='softmax'

Upvotes: 1

Related Questions