mixmo.core.metrics_ensemble.MetricsEnsemble¶
-
class
mixmo.core.metrics_ensemble.
MetricsEnsemble
(predictions, names, true)[source]¶ Bases:
object
Class Wrapper to get Diversity Measures over collection of predictions. :param @predictions: list of lists. Each sublist contains the predictions
of a classifier
- Parameters
@names – list of strings. Each string is the name of the classifier.
@true – list of labels. Each label is the truth label
-
__init__
(predictions, names, true)[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(predictions, names, true)Initialize self.
get_diversity_ratioerrors
([print_flag])get_individualaccuracies
([print_flag])get_report
([print_flag])help
()Just a helper function to print the class docstring.