title: How can I print accuracy of the model in a different way?
body: <p>I am carrying out supervised machine learning. At present, by using scikit's metrics, it prints out the accuracy of the entire corpus.</p>
  
  <p>I also wish to print out the accuracy of top 3 topics and then top 5 topics. How can I do so?</p>
  
  <pre><code>model = LogisticRegression()
  model = model.fit(matrix, label)
  y_train_pred = model1.predict(matrix_test)
  print(metrics.accuracy_score(label_test, y_train_pred))
  </code></pre>