learner-class: Class "learner"

Description Objects from the Class Slots Methods Author(s) References See Also Examples

Description

Objects of the class learner represent learning systems that can be used in the routines designed to carry out experimental comparisons within the DMwR package.

Objects from the Class

Objects can be created by calls of the form learner( ...). The objects contain information on the R function implementing the learning algorithm, and also a list of arguments with respective values, that should be used when calling that function.

Slots

func:

A character string containing the name of the R function that implements the learning algorithm used by the learner object.

pars:

A named list containing the parameters and respective values to be used when calling the learner (defaulting to the empty list).

Methods

show

signature(object = "learner"): method used to show the contents of a learner object.

Author(s)

Luis Torgo ltorgo@dcc.fc.up.pt

References

Torgo, L. (2010) Data Mining using R: learning with case studies, CRC Press (ISBN: 9781439810187). http://www.dcc.fc.up.pt/~ltorgo/DataMiningWithR

See Also

task, dataset, runLearner

Examples

1
showClass("learner")

Example output

Loading required package: lattice
Loading required package: grid
Class "learner" [package "DMwR"]

Slots:
                          
Name:       func      pars
Class: character      list

DMwR documentation built on May 1, 2019, 9:17 p.m.