Progress bar for scikit-learn models fitting

scikit learn models support a verbose argument which gives progress (and sometimes an indication on the rate of convergence).

clf = MPLClassifier(verbose=True)

For example : in multi layer perceptron MLPClassifier .

mlp = MLPClassifier(hidden_layer_sizes=(10,), max_iter=10, verbose=True)

If you have a loop outside of the learning model, You can use this package tqdm.

Written by

Web geek, Self-taught full-stack web developer, Learning Python, Laravel, Vuejs, UX/UI design, Nuclear Physicist PhD

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store