Learn R Programming

daltoolbox (version 1.1.727)

fit: Fit

Description

Applies the fit method to a model object to train or configure it using the provided data and optional arguments

Usage

fit(obj, ...)

Value

returns a object after fitting

Arguments

obj

object

...

optional arguments.

Examples

Run this code
data(iris)
# an example is minmax normalization
trans <- minmax()
trans <- fit(trans, iris)
tiris <- action(trans, iris)

Run the code above in your browser using DataLab