| Package | Description |
|---|---|
| weka.classifiers.meta | |
| weka.classifiers.meta.multisearch |
| Modifier and Type | Class and Description |
|---|---|
class |
MultiSearch
Performs a search of an arbitrary number of parameters of a classifier and chooses the best pair found for the actual filtering and training.
The default MultiSearch is using the following Classifier setup: LinearRegression, searching for the "Ridge" The properties being explored are totally up to the user. E.g., if you have a FilteredClassifier selected as base classifier, sporting a PLSFilter and you want to explore the number of PLS components, then your property will be made up of the following components: - filter: referring to the FilteredClassifier's property (= PLSFilter) - numComponents: the actual property of the PLSFilter that we want to modify And assembled, the property looks like this: filter.numComponents The best classifier setup can be accessed after the buildClassifier call via the getBestClassifier method. The trace of setups evaluated can be accessed after the buildClassifier call as well, using the following methods: - getTrace() - getTraceSize() - getTraceValue(int) - getTraceFolds(int) - getTraceClassifierAsCli(int) - getTraceParameterSettings(int) Using the weka.core.setupgenerator.ParameterGroup parameter, it is possible to group dependent parameters. |
| Modifier and Type | Method and Description |
|---|---|
MultiSearchCapable |
AbstractSearch.retrieveOwner()
Returns the current owner.
|
| Modifier and Type | Method and Description |
|---|---|
abstract T |
AbstractEvaluationFactory.newTask(MultiSearchCapable owner,
weka.core.Instances train,
weka.core.Instances test,
SetupGenerator generator,
Point<Object> values,
int folds,
int eval,
int classLabel)
Returns a new task.
|
DefaultEvaluationTask |
DefaultEvaluationFactory.newTask(MultiSearchCapable owner,
weka.core.Instances train,
weka.core.Instances test,
SetupGenerator generator,
Point<Object> values,
int folds,
int eval,
int classLabel)
Returns a new task.
|
void |
AbstractSearch.setOwner(MultiSearchCapable value)
Sets the owning classifier.
|
| Constructor and Description |
|---|
AbstractEvaluationTask(MultiSearchCapable owner,
weka.core.Instances train,
weka.core.Instances test,
SetupGenerator generator,
Point<Object> values,
int folds,
int eval,
int classLabel)
Initializes the task.
|
DefaultEvaluationTask(MultiSearchCapable owner,
weka.core.Instances train,
weka.core.Instances test,
SetupGenerator generator,
Point<Object> values,
int folds,
int eval,
int classLabel)
Initializes the task.
|
Copyright © 2017 University of Waikato, Hamilton, NZ. All Rights Reserved.