public class ExplorerDefaults
extends java.lang.Object
implements java.io.Serializable
weka/gui/explorer/Explorer.props
.PROPERTY_FILE
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_FILE
The name of the properties file.
|
Constructor and Description |
---|
ExplorerDefaults() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
get(java.lang.String property,
java.lang.String defaultValue)
returns the value for the specified property, if non-existent then the
default value.
|
static int |
getASCrossvalidationFolds()
returns the default number of folds of the CV in the attribute selection
panel.
|
static java.lang.Object |
getASEvaluator()
returns the default attribute evalautor (fully configured) for the
attribute selection panel.
|
static int |
getASRandomSeed()
returns the default random seed value in the attribute selection panel.
|
static java.lang.Object |
getASSearch()
returns the default attribute selection search scheme (fully configured)
for the attribute selection panel.
|
static java.lang.Object |
getAssociator()
returns the default associator (fully configured) for the associations panel.
|
static int |
getASTestMode()
returns the default attribute selection test mode for the attribute
selection panel.
|
static java.lang.Object |
getClassifier()
returns the default classifier (fully configured) for the classify panel.
|
static boolean |
getClassifierCostSensitiveEval()
returns whether the evaluation of the classifier is done cost-sensitively.
|
static int |
getClassifierCrossvalidationFolds()
returns the default number of folds of the CV in the classify panel.
|
static java.lang.String |
getClassifierOutputAdditionalAttributes()
returns the string with the additional indices to output alongside the
predictions.
|
static boolean |
getClassifierOutputConfusionMatrix()
returns whether the confusion matrix for the classifier is output.
|
static boolean |
getClassifierOutputEntropyEvalMeasures()
returns whether entropy-based evaluation meastures of the classifier
are output.
|
static boolean |
getClassifierOutputModel()
returns whether the built model is output.
|
static boolean |
getClassifierOutputPerClassStats()
returns whether additional per-class stats of the classifier are output.
|
static boolean |
getClassifierOutputPredictions()
returns whether the predictions of the classifier are output as well.
|
static boolean |
getClassifierOutputSourceCode()
returns whether the source of a sourcable Classifier is output
in the classify tab.
|
static int |
getClassifierPercentageSplit()
returns the default classifier test mode for the classify panel (0-99).
|
static boolean |
getClassifierPreserveOrder()
returns whether the order is preserved in case of the percentage split
in the classify tab.
|
static int |
getClassifierRandomSeed()
returns the default random seed value for the classifier for the
classify panel.
|
static java.lang.String |
getClassifierSourceCodeClass()
returns the default classname for a sourcable Classifier in the classify tab.
|
static boolean |
getClassifierStorePredictionsForVis()
returns whether the predictions of the classifier are stored for
visualization.
|
static int |
getClassifierTestMode()
returns the default classifier test mode for the classify panel.
|
static java.lang.Object |
getClusterer()
returns the default clusterer (fully configured) for the clusterer panel.
|
static boolean |
getClustererStoreClustersForVis()
returns whether the clusters are storeed for visualization purposes
in the cluster panel.
|
static int |
getClustererTestMode()
returns the default cluster test mode for the cluster panel.
|
static java.lang.Object |
getFilter()
returns the default filter (fully configured) for the preprocess panel.
|
static boolean |
getInitGenericObjectEditorFilter()
returns if the GOEs in the Explorer will be initialized based on the
data that is loaded into the Explorer.
|
static java.lang.String |
getInitialDirectory()
Returns the initial directory for the file chooser used for opening
datasets.
|
static java.util.Properties |
getProperties()
returns the associated properties file.
|
static java.lang.String[] |
getTabs()
returns an array with the classnames of all the additional panels to
display as tabs in the Explorer.
|
static void |
main(java.lang.String[] args)
only for testing - prints the content of the props file.
|
public static final java.lang.String PROPERTY_FILE
public static java.lang.String get(java.lang.String property, java.lang.String defaultValue)
property
- the property to retrieve the value fordefaultValue
- the default value for the propertypublic static final java.util.Properties getProperties()
public static boolean getInitGenericObjectEditorFilter()
public static java.lang.String[] getTabs()
public static java.lang.String getInitialDirectory()
%t - the temp directory %h - the user's home directory %c - the current directory %% - gets replaced by a single percentage sign
public static java.lang.Object getFilter()
public static java.lang.Object getClassifier()
public static int getClassifierTestMode()
public static int getClassifierCrossvalidationFolds()
public static int getClassifierPercentageSplit()
public static boolean getClassifierOutputModel()
public static boolean getClassifierOutputPerClassStats()
public static boolean getClassifierOutputEntropyEvalMeasures()
public static boolean getClassifierOutputConfusionMatrix()
public static boolean getClassifierOutputPredictions()
public static java.lang.String getClassifierOutputAdditionalAttributes()
public static boolean getClassifierStorePredictionsForVis()
public static boolean getClassifierCostSensitiveEval()
public static int getClassifierRandomSeed()
public static boolean getClassifierPreserveOrder()
public static boolean getClassifierOutputSourceCode()
public static java.lang.String getClassifierSourceCodeClass()
public static java.lang.Object getClusterer()
public static int getClustererTestMode()
public static boolean getClustererStoreClustersForVis()
public static java.lang.Object getAssociator()
public static java.lang.Object getASEvaluator()
public static java.lang.Object getASSearch()
public static int getASTestMode()
public static int getASCrossvalidationFolds()
public static int getASRandomSeed()
public static void main(java.lang.String[] args)
args
- commandline parameters - ignored