metric_computation#


class MetricComputationResult(metric_value: float, models: List[VectorModelBase])[source]#

Bases: object

metric_value: float#
models: List[VectorModelBase]#
class MetricComputation(metric: Union[RegressionMetric, ClassificationMetric])[source]#

Bases: ABC

abstract compute_metric_value(model_factory: Callable[[], Union[VectorRegressionModel, VectorClassificationModel]]) MetricComputationResult[source]#
class MetricComputationMultiData(ev_util: MultiDataModelEvaluation, use_cross_validation: bool, metric: Union[RegressionMetric, ClassificationMetric], use_combined_eval_stats: bool)[source]#

Bases: MetricComputation

compute_metric_value(model_factory: Callable[[], Union[VectorRegressionModel, VectorClassificationModel]]) MetricComputationResult[source]#