opendataval.dataval.ModelMixin#

class opendataval.dataval.ModelMixin#
__init__()#

Methods

__init__()

evaluate(y, y_hat)

Evaluate performance of the specified metric between label and predictions.

input_metric(metric)

Input the evaluation metric.

input_model(pred_model)

Input the prediction model.

input_model_metric(pred_model, metric)

Input the prediction model and the evaluation metric.