Classes "Instance" and "Instance.List"

Share:

Description

A base learner Instance is a combination of a base learner configuration and data partition. Instances constitute the major input into the cross-validation-based functions such as Regression.CV.Batch.Fit. An Instance.List is a collection of instances, along with the underlying definition of data partitions referenced in the instance objects. The function make.instances is a convenient function for generating an instance list from all permutations of a given list of base learner configurations and data partitions.

Objects from the Class

Objects can be created by calls of the form new("Instance", ...).

Slots

Instance has the following slots:

config:

Object of class "BaseLearner.Config" ~~

partid:

Object of class "character" ~~

Instance.List has the following slots:

instances:

Object of class "list", with each element being an object of class Instance.

partitions:

Object of class "matrix", defining data partitions referenced in each instance. This object is typically the output of generate.partitions.

Methods

No methods defined with class "Instance" in the signature.

Author(s)

Alireza S. Mahani, Mansour T.A. Sharabiani

See Also

make.instances, generate.partitions, Regression.CV.Batch.Fit

Examples

1
showClass("Instance")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.