Description Objects from the Class Slots Methods Author(s) References See Also Examples
This is the class of objects that represent a predictive task
Objects can be created by calls to the constructor
PredTask(...)
. The constructor requires a formula and a data
frame on the first two arguments. You may also a name for the task
through the parameter taskName
of the constructor. Optional
parameter type
allows you to indicate the type of task (either
"regr", "class" or "ts", for regression, classification and time
series tasks, respectively). If not provided this will be inferred
from constructor. Setting the optional parameter copy
to
TRUE
(defaults to FALSE
) will force the constructor to make a copy
of the given data frame and store it in the dataSource
slot of
the PredTask
object.
formula
:Object of class formula
containing
the formula representing the predictive task.
dataSource
:Object of class data.frame
,
call
or name
. This will be used to fecth the task
data when necessary. The first of these options will only be used
if the user calls the constructor with copy=TRUE
and will
result in the source data being copied into the PredTask
object.
taskName
:Optional object of class character
containing
the ID of the predictive task
type
:Optional object of class character
containing
the type of the predictive task (it can be "regr", "class" or "ts").
target
:Optional object of class character
containing the
name of the target variable.
signature(object = "PredTask")
: method used to
show the contents of a PredTask object.
Luis Torgo ltorgo@dcc.fc.up.pt
Torgo, L. (2014) An Infra-Structure for Performance Estimation and Experimental Comparison of Predictive Models in R. arXiv:1412.0436 [cs.MS] http://arxiv.org/abs/1412.0436
Workflow
,
EstimationTask
,
performanceEstimation
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.