Progress bar for scikit-learn models fitting

Panjeh
1 min readJun 20, 2020

--

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.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Panjeh
Panjeh

Written by Panjeh

Posting about Python and Laravel

Responses (2)

Write a response