evaluationScheme-class {recommenderlab}R Documentation

Class "evaluationScheme": Evaluation Scheme

Description

An evaluation scheme created from a data set. The scheme can be a simple split into training and test data, k-fold cross-evaluation or using k bootstrap samples.

Objects from the Class

Objects can be created by evaluationScheme(data, method="split", train=0.9, k=10, given=3).

Slots

method:
Object of class "character"; evaluation method.
given:
Object of class "integer"; items given for evaluation.
k:
Object of class "integer"; number of runs for evaluation.
train:
Object of class "numeric"; portion of data used for training for "split" and "bootstrap".
runsTrain:
Object of class "list"; internal repesentation for the split in training and test data for the evaluation runs.
data:
Object of class "ratingMatrix"; the data set.
knownData:
Object of class "ratingMatrix"; data set with only known (given) items.
unknownData:
Object of class "ratingMatrix"; data set with only unknown items.

Methods

getData
signature(x = "evaluationScheme"): access data. Parameters are type ("train", "known" or "unknown") and run (1...k).
show
signature(object = "evaluationScheme")

See Also

ratingMatrix


[Package recommenderlab version 0.1-0 Index]