EstimationResults-class {performanceEstimation} | R Documentation |
Class "EstimationResults"
Description
This is the class of the objects storing the results of estimating the performance of a workflow on a predictive task using some estimation method.
Objects from the Class
Objects can be created by calls of the form EstimationResults(...)
providing the values for the class slots. The objects contain
information on the predictive task, the workflow, the estimation
task, the metric scores and optionally also information on results
obtained at each iteration of the estimation process.
Slots
task
:Object of class
PredTask
workflow
:Object of class
Workflow
estTask
:Object belonging to class
EstimationTask
iterationsScores
:Object of class
matrix
iterationsInfo
:Object of class
list
Methods
- plot
signature(x = "EstimationResults", y = "missing")
: method used to visualize the results of the estimation process.- show
signature(object = "EstimationResults")
: shows the contents of an object in a proper way- summary
signature(object = "EstimationResults")
: method used to obtain a summary of the results of the estimation process.
Author(s)
Luis Torgo ltorgo@dcc.fc.up.pt
References
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
See Also
EstimationMethod
,
EstimationTask
,
PredTask
,
Workflow
,
performanceEstimation
Examples
showClass("EstimationResults")
## Not run:
library(e1071)
data(swiss)
## Estimating the MAE and NMSE of an SVM on the swiss task
eval.res <- cvEstimates(
Workflow(learner="svm",learner.pars=list(cost=10,gamma=0.1)),
PredTask(Infant.Mortality ~ .,swiss),
EstimationTask(metrics=c("mae","nmse"),method=CV(nReps=2))
)
## Check a summary of the results
summary(eval.res)
## End(Not run)