src.report.rand_forestpp_report

Classes

RandForestPPReport(importance, **kwargs)

class src.report.rand_forestpp_report.RandForestPPReport(importance, **kwargs)
Author:

Alberto M. Esmoris Pena

Class to handle reports related to trained C++ random forest models. See Report. See also RandomForestPPClassificationModel.

Variables:
  • importance (np.ndarray) – The vector of feature-wise MDI importance.

  • permutation_importance_mean (np.ndarray) – The vector of feature-wise mean permutation importance. It can be None, i.e., it is optional.

  • permutation_importance_stdev (np.ndarray) – The vector representing the standard deviations of permutation importance. It can be None, i.e., it is optional.

  • fnames (list) – The names of the features.

__init__(importance, **kwargs)

Initialize an instance of RandForestPPReport.

Parameters:
  • importance – The feature-wise MDI importance scores.

  • kwargs – The key-word arguments defining the report’s attributes.