watex.utils.mlutils.predict#

watex.utils.mlutils.predict(y_true, y_pred=None, *, X_=None, clf=None, verbose=0)[source]#

Make a quick statistic after prediction.

Parameters:
  • y_true – array-like y value (label) to predict

  • y_pred – array_like y value predicted

  • X – ndarray(nexamples, nfeatures) test sets

  • clf – callable Estimator or classifier object.

  • XT – ndarray

Pram X:

ndarray(nexamples, nfeatures) Training data sets

:param verbose:int, level=0

Control the verbosity. More than 1 more message

Parameters:

from_c – str Column to visualize statistic. Be sure the colum exist into the test sets. If not raise errors.