src.report.variance_selection_report

Classes

VarianceSelectionReport(fnames, variances[, ...])

class src.report.variance_selection_report.VarianceSelectionReport(fnames, variances, selected_features=None, **kwargs)
Author:

Alberto M. Esmoris Pena

Class to handle reports related to variance selection. See Report. See also VarianceSelector.

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

  • variances (np.ndarray) – The feature-wise variances.

  • selected_features (list) – The indices or bool mask representing the selected features. This is an optional attribute, if it is not available, then selected features will not be reported.

__init__(fnames, variances, selected_features=None, **kwargs)

Initialize an instance of VarianceSelectionReport.

Parameters:
  • fnames – The names of all the features (OPTIONAL). If not given, the default will be f1, …, fn.

  • variances – The feature-wise variances.

  • selected_features – The indices or bool mask representing the selected features (OPTIONAL).

  • kwargs – The key-word arguments.