title: GridSearchCV eliminate output
body: <p>I use GridSearchCV to get best parameters but it gave me thousands of rows of outputs. How can I eliminate this output or suppress it from the code  &quot;grid.fit(X_train,y_train)&quot;</p>
  <pre><code>param_grid = {'penalty': ['l1', 'l2'],'C':[0.001,.009,0.01,.09,1,5,10,25]}
  from sklearn.model_selection import GridSearchCV
  grid = GridSearchCV(LogisticRegression(),param_grid,refit=True,verbose=2,cv=5)
  grid.fit(X_train,y_train)
  </code></pre>
  <p>Thank you</p>