expRemoveDuplicated {exreport} | R Documentation |
This function removes duplicated rows of a given experiment attending to the interaction of methods, problems and parameters (but no outputs).
expRemoveDuplicated(e, tol = 1e-09)
e |
The experiment to be analised |
tol |
The tolerance for numeric values to check if two outputs are numerically equal or not. |
The duplicated rows found are compared among themselves to determine if there is divergence between the outputs, if the rows are not consistent a warning is raised to note this difference.
an experiment object
# We duplicate some of the rows of a given experiment:
e <- expCreate(wekaExperiment, parameters="fold", name="Test Experiment")
redundant <- expCreate(wekaExperiment[wekaExperiment$method=="NaiveBayes",],
parameters="fold", name="Test Experiment")
e2 <- expConcat(e,redundant)
# Now we remove those duplicates:
expRemoveDuplicated(e2)