powered by
Julia Equivalent: IAI.score
IAI.score
# S3 method for default score(obj, predictions, truths, ...)
The type of problem.
The predictions to evaluate.
The true target values for these observations.
Other parameters, including the criterion. Refer to the Julia documentation for available parameters.
Requires IAI version 2.1 or higher.
if (FALSE) iai::score("regression", y_pred, y_true, criterion="mse")
Run the code above in your browser using DataLab