expCombine: Combine two experiments with different outputs

Description Usage Arguments Value Examples

Description

This fuctions joints two experiments sharing the same configuration of methods, problems and parameters but different outputs. The resulting experiment includes the common rows for both experiments with all the output columns.

Usage

1
expCombine(e1, e2, name = NULL)

Arguments

e1

First experiment to combine.

e2

An second experiment to combine, must share the same config as e1.

name

Optional name for the resulting experiment. If not specified the new experiment will be called "e1_name U e2_name"

Value

An new experiment with common rows and all columns.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# In this example we turn the wekaExperiment into two different experiments,
# with different outputs to combine them:

df_acc  <- wekaExperiment[,
           c("method", "problem", "fold", "featureSelection", "accuracy")]
df_time <- wekaExperiment[,
           c("method", "problem", "fold", "featureSelection", "trainingTime")]

exp_acc <- expCreate(df_acc, name="acc", parameter="fold")
exp_time <- expCreate(df_time, name="time", parameter="fold")

# With expCombine we can mix the two experiments:
expCombine(exp_acc, exp_time)

exreport documentation built on May 1, 2019, 10:13 p.m.