score.default: Calculate the score for a set of predictions on the given...

View source: R/iaibase.R

score.defaultR 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")


iai documentation built on Oct. 19, 2024, 1:07 a.m.