src.report.rand_forest_report

Classes

RandForestReport(importance, **kwargs)

class src.report.rand_forest_report.RandForestReport(importance, **kwargs)
Author:

Alberto M. Esmoris Pena

Class to handle reports related to trained random forest models. See Report. See also RandomForestClassificationModel.

Variables:
  • importance (np.ndarray) – The vector of feature-wise 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 RandForestReport.

Parameters:

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