public class ExperimenterDefaults extends Object implements Serializable
weka/gui/experiment/Experimenter.props
.PROPERTY_FILE
,
Serialized FormModifier and Type | Field and Description |
---|---|
static String |
PROPERTY_FILE
The name of the properties file.
|
Constructor and Description |
---|
ExperimenterDefaults() |
Modifier and Type | Method and Description |
---|---|
static String |
get(String property,
String defaultValue)
returns the value for the specified property, if non-existent then the
default value.
|
static String |
getColumn()
the comma-separated list of attribute names that identify a column.
|
static String |
getComparisonField()
returns the name of the field used for comparison.
|
static boolean |
getDatasetsFirst()
whether datasets or algorithms are iterated first.
|
static String |
getDestination()
returns the default destination.
|
static String |
getExperimentType()
returns the default experiment type.
|
static String |
getExtension()
returns the default experiment extension.
|
static int |
getFolds()
returns the number of folds used for cross-validation.
|
static File |
getInitialDatasetsDirectory()
returns the initial directory for the datasets (if empty, it returns
the user's home directory).
|
static int |
getMeanPrecision()
returns the default precision for the mean.
|
static ResultMatrix |
getOutputFormat()
returns the classname (and optional options) of the ResultMatrix class,
responsible for the output format.
|
static Properties |
getProperties()
returns the associated properties file.
|
static boolean |
getRemoveFilterClassnames()
whether the filter classnames in the dataset names are removed by default.
|
static int |
getRepetitions()
returns the number of repetitions to use.
|
static String |
getRow()
the comma-separated list of attribute names that identify a row.
|
static boolean |
getShowAverage()
returns whether the Average is shown by default.
|
static boolean |
getShowStdDevs()
returns whether StdDevs are shown by default.
|
static double |
getSignificance()
returns the default significance.
|
static String |
getSorting()
returns the default sorting (empty string means none).
|
static int |
getStdDevPrecision()
returns the default precision for the stddevs.
|
static String |
getTester()
returns the display name of the preferred Tester algorithm.
|
static double |
getTrainPercentage()
returns the training percentage in case of splits.
|
static boolean |
getUseClassification()
whether classification or regression is used.
|
static boolean |
getUseRelativePaths()
whether relative paths are used by default.
|
static void |
main(String[] args)
only for testing - prints the content of the props file.
|
public static final String PROPERTY_FILE
public static String get(String property, String defaultValue)
property
- the property to retrieve the value fordefaultValue
- the default value for the propertypublic static final Properties getProperties()
public static final String getExtension()
public static final String getDestination()
public static final String getExperimentType()
public static final boolean getUseClassification()
public static final int getFolds()
public static final double getTrainPercentage()
public static final int getRepetitions()
public static final boolean getDatasetsFirst()
public static final File getInitialDatasetsDirectory()
public static final boolean getUseRelativePaths()
public static final String getTester()
Tester
,
PairedCorrectedTTester
public static final String getRow()
public static final String getColumn()
public static final String getComparisonField()
public static final double getSignificance()
public static final String getSorting()
public static final boolean getShowStdDevs()
public static final boolean getShowAverage()
public static final int getMeanPrecision()
public static final int getStdDevPrecision()
public static final ResultMatrix getOutputFormat()
ResultMatrix
,
ResultMatrixPlainText
public static final boolean getRemoveFilterClassnames()
public static void main(String[] args)
args
- commandline parameters - ignoredCopyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.