score.default {iai}R Documentation

Calculate the score for a set of predictions on the given data

Description

Julia Equivalent: IAI.score

Usage

## Default S3 method:
score(obj, predictions, truths, ...)

Arguments

obj

The type of problem.

predictions

The predictions to evaluate.

truths

The true target values for these observations.

...

Other parameters, including the criterion. Refer to the Julia documentation for available parameters.

IAI Compatibility

Requires IAI version 2.1 or higher.

Examples

## Not run: iai::score("regression", y_pred, y_true, criterion="mse")


[Package iai version 1.10.1 Index]