Learn R Programming

gensemble (version 1.0.1)

ab.predict: AbstractModel prediction

Description

Take a model trained by ab.model and use it for prediction

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

Usage

ab.predict(ab, mod, X)

Arguments

ab

An object of type AbstractModel-class.

mod

A trained model object, possibly the return value from a call to ab.model.

X

The input predictors.

Value

This will return whatever a call to predict would return for the given model in use by the AbstractModel instance passed in ab.

See Also

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