public static class WekaWrapper.Parameters extends Learner.Parameters
WekaWrapper
's configurable parameters. Using instances
of this class should make code more readable and constructors less complicated.Modifier and Type | Field and Description |
---|---|
String |
attributeString
A string encoding of the return types of each of the feature extractors in use; default
WekaWrapper.defaultAttributeString . |
weka.classifiers.Classifier |
baseClassifier
Stores the instance of the WEKA classifier which we are training; default
WekaWrapper.defaultBaseClassifier . |
rounds
Constructor and Description |
---|
Parameters()
Sets all the default values.
|
Parameters(Learner.Parameters p)
Sets the parameters from the parent's parameters object, giving defaults to all
parameters declared in this object.
|
Parameters(WekaWrapper.Parameters p)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
nonDefaultString()
Creates a string representation of these parameters in which only those parameters that
differ from their default values are mentioned.
|
void |
setParameters(Learner l)
Calls the appropriate
Learner.setParameters(Parameters) method for this
Parameters object. |
public weka.classifiers.Classifier baseClassifier
WekaWrapper.defaultBaseClassifier
.public String attributeString
WekaWrapper.defaultAttributeString
.public Parameters()
public Parameters(Learner.Parameters p)
public Parameters(WekaWrapper.Parameters p)
public void setParameters(Learner l)
Learner.setParameters(Parameters)
method for this
Parameters
object.setParameters
in class Learner.Parameters
l
- The learner whose parameters will be set.public String nonDefaultString()
nonDefaultString
in class Learner.Parameters
Copyright © 2016. All rights reserved.