public class Example
extends java.lang.Object
Constructor and Description |
---|
Example() |
Modifier and Type | Method and Description |
---|---|
static void |
crossValidation(java.io.File[] files,
java.lang.String key)
Performs a cross-validation on the datassets.
|
static void |
main(java.lang.String[] args)
Performs random split and cross-validation experiment on the datasets
provided as arguments.
|
static void |
randomSplit(java.io.File[] files,
java.lang.String key)
Performs a random split on the datassets.
|
public static void randomSplit(java.io.File[] files, java.lang.String key) throws java.lang.Exception
files
- the files to use in the experimentkey
- the statistic to evaluate on, eg "Accuracy"java.lang.Exception
- if experiment fails for some reasonpublic static void crossValidation(java.io.File[] files, java.lang.String key) throws java.lang.Exception
files
- the files to use in the experimentkey
- the statistic to evaluate on, eg "Accuracy"java.lang.Exception
- if experiment fails for some reasonpublic static void main(java.lang.String[] args) throws java.lang.Exception
args
- the stats key and datasets to use in the experimentjava.lang.Exception
- if experiment fails for some reason