expConcat

Concatenate rows of matching experiments

Usage

expConcat(e1, e2, name = NULL, tol = 1e-09)

Arguments

e1
First experiment object to concat.
e2
Second experiment object to concat. Must have the same configuration than e1.
name
Optional name, if not provided the new experiment will be called "e1_name + e2_name"
tol
Tolerance value for duplicate checking.

Value

An experiment object having all the rows of e1 and e2

Description

This function concatenates two experiments with the same configuration of parameter an outputs. At least one common output must be present, the rest of them will be removed from the resulting experiment. Different methods and problems can be present.

Examples

# In this example we turn the wekaExperiment into two different experiments, # with different parameter values to combine them: df_no <- wekaExperiment[wekaExperiment$featureSelection=="no",] df_yes <- wekaExperiment[wekaExperiment$featureSelection=="yes",] exp_yes <- expCreate(df_yes, name="fss-yes", parameter="fold") exp_no <- expCreate(df_no, name="fss-no", parameter="fold") expConcat(exp_yes, exp_no)
#Experiment name: fss-yes+fss-no #method: J48, NaiveBayes, OneR, RandomForest #problem: anneal, audiology, balance-scale, car, glass, horsecolic, hypothyroid, ionosphere, liver-disorders, lymph, primary-tumor, soybean, vehicle, vote, vowel #parameters: *) featureSelection [no,yes] *) fold [0,1,2,3,4,5,6,7,8,9] #outputs: accuracy, trainingTime

Back to top

Built by staticdocs. Styled with bootstrap.