Learn R Programming

gensemble (version 1.0.1)

ab.model: call the underlying model

Description

This function can be used to call the underlingly model of an AbstractModel-class instance.

Please see the documentation for AbstractModel-class for example usage.

Usage

ab.model(ab, X, Y)

Arguments

ab

An object of type AbstractModel-class.

X

The X values to passed to the model function.

Y

The Y values to be passed to the model function.

Value

Returns an trained instance of whatever underlying model is in use. Suitable to be passed to predict or ab.predict.

See Also

ab.create, ab.predict, AbstractModel-class, gensemble.