expRename

Change the name of elements that an experiment contains

Usage

expRename(e, elements = list(), name = NULL)

Arguments

e
Input experiment
elements
A list of arrays of strings containing the new names. The old name will be specified as the name of the element in such array, and the name for the parameter, method or problem will be given by the name of the corresponding object in the list. If a name is not present in the set of parameter names or parameter values, it will be ignored.
name
The name of the new experiment. If NULL, the previous name will be used.

Value

A modified exreport experiment object with some changes on the name of the elements.

Description

This function change the name of problems, methods or parameter values that an existing experiment object contains.

Examples

# We load the wekaExperiment problem as an experiment and then change the name # of one value for the parameter discretization and for one method. experiment <- expCreate(wekaExperiment, name="test", parameter="fold") expRename(experiment, list(featureSelection = c("no"="false"), method=c("RandomForest"="RndForest")))
#Experiment name: test #method: J48, NaiveBayes, OneR, RndForest #problem: anneal, audiology, balance-scale, car, glass, horsecolic, hypothyroid, ionosphere, liver-disorders, lymph, primary-tumor, soybean, vehicle, vote, vowel #parameters: *) featureSelection [false,yes] *) fold [0,1,2,3,4,5,6,7,8,9] #outputs: accuracy, trainingTime

Back to top

Built by staticdocs. Styled with bootstrap.