app.ml.logreg.plot_confusion_matrix

plot_confusion_matrix(y_true, y_pred)[source]

Plots the confusion matrix.

Parameters
  • y_true (list) – A 1-d numpy array or list of true values.

  • y_pred (list) – A 1-d numpy array or list of predicted values.