0
$\begingroup$

im building an mlp with scikit learn. Is there a way I can access weights and biases of the output layer per iteration? There is an option mlp.coefs_ But it outputs the train weights when the model is compiled

$\endgroup$
  • $\begingroup$ clf.coefs_ contains the weight matrices that constitute the model parameters: $\endgroup$ – Sachin Yadav Oct 31 at 16:35
  • $\begingroup$ @SachinYadav but it accessible only when the model is compiled. I want to access the weights which are updated in every iteration $\endgroup$ – imtiaz ul Hassan Oct 31 at 17:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.