fit.learner: Fits a model to the training data

View source: R/iaibase.R

fit.learnerR Documentation

Fits a model to the training data

Description

Julia Equivalent: IAI.fit!

Usage

## S3 method for class 'learner'
fit(obj, X, ...)

Arguments

obj

The learner to fit.

X

The features of the data.

...

Other parameters, including zero or more target vectors as required by the problem type. Refer to the Julia documentation for available parameters.

Examples

## Not run: iai::fit(lnr, X, y)


iai documentation built on July 9, 2023, 5:41 p.m.