public class Config extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
Config |
adaptivityControl(int d)
Activates adaptivity in the hyperparameter grid.
|
Config |
display(int d)
Sets the display level starting at 0 which means no information.
|
List<Map.Entry<String,String>> |
entries()
Creates a
List that contains all key-value pairs
in the order they were set. |
Config |
folds(int d) |
String |
get(String key) |
Config |
gridChoice(int d)
Sets the hyperparameter grid.
|
boolean |
has(String key) |
boolean |
isAutoSelect() |
boolean |
isAutoTrain() |
Config |
partitionChoice(int d)
Sets the partition choice.
|
Config |
randomSeed(int d) |
String |
remove(Object key) |
Config |
scale(boolean d) |
Config |
scenario(String scenario)
Sets the scenario.
|
Config |
select(boolean b)
Specifies whether selecting should start automagically at the end
of initializing the
SVM after the automatic training. |
Config |
set(String key,
String value)
Sets the
value for the key and remembers the order
in which it was added. |
Config |
threads(int d)
Sets the number of threads to use.
|
Config |
train(boolean b)
Specifies whether training should start automagically at the end
of initializing the
SVM. |
Config |
useCells() |
Config |
useCells(boolean b) |
Config |
voronoi(int d) |
public Config()
public Config(Config other)
public Config set(String key, String value)
value for the key and remembers the order
in which it was added. This order is used in entries().
It returns this Config to enable
method chaining. Many of the other methods use this.key - value - configentries()public boolean has(String key)
public List<Map.Entry<String,String>> entries()
List that contains all key-value pairs
in the order they were set.set(String, String)public Config scenario(String scenario)
scenario - can be any of "LS", "EX", "QT", "MC", "NPL", "ROC"Configset(String, String),
SVM.LS,
SVM.MCpublic Config display(int d)
d - display info levelConfigset(String, String)public Config threads(int d)
d - number of threadsConfigset(String, String)public Config partitionChoice(int d)
d - display info levelConfigset(String, String)public Config gridChoice(int d)
d - Configset(String, String)public Config adaptivityControl(int d)
d - Configset(String, String)public Config randomSeed(int d)
public Config folds(int d)
public Config voronoi(int d)
public Config scale(boolean d)
public Config useCells()
public Config useCells(boolean b)
public Config train(boolean b)
SVM.
Default is true.b - ConfigSVM.train(String...)public Config select(boolean b)
SVM after the automatic training.
Default is true.
This only has effect if #isAutoTrain() is true.b - ConfigSVM.select(String...)public boolean isAutoTrain()
public boolean isAutoSelect()
Copyright © 2018. All rights reserved.