saealib.SurrogateAccuracyMetric#
Methods
Method Details
- SurrogateAccuracyMetric.__init__()#
- abstractmethod SurrogateAccuracyMetric.compute(y_true, y_pred)[ソース]#
Compute the metric.
- パラメータ:
y_true (np.ndarray) -- True objective values. shape: (n_samples, n_obj)
y_pred (np.ndarray) -- Predicted objective values. Same shape as
y_true.
- 戻り値:
Scalar metric value. Interpretation (higher/lower = better) depends on the concrete metric.
- 戻り値の型:
float