public class EnsembleLibraryModel
extends java.lang.Object
implements java.io.Serializable, weka.core.RevisionHandler
Constructor and Description |
---|
EnsembleLibraryModel()
Default Constructor
|
EnsembleLibraryModel(weka.classifiers.Classifier classifier)
Initializes the class with the given classifier.
|
Modifier and Type | Method and Description |
---|---|
weka.classifiers.Classifier |
getClassifier()
Returns the base classifier this library model represents.
|
java.lang.String |
getDescriptionText()
getter for the string representation
|
java.lang.String |
getErrorText()
getter for the error text
|
java.lang.Class |
getModelClass()
getter for the modelClass
|
java.lang.String[] |
getOptions()
getter for the classifier options
|
boolean |
getOptionsWereValid()
getter for the optionsWereValid member variable
|
java.lang.String |
getRevision()
Returns the revision string.
|
java.lang.String |
getStringRepresentation()
getter for the string representation
|
void |
setDescriptionText(java.lang.String descriptionText)
setter for the description text
|
void |
setErrorText(java.lang.String errorText)
setter for the error text
|
void |
setOptionsWereValid(boolean optionsWereValid)
setter for the optionsWereValid member variable
|
void |
testOptions()
This method will attempt to instantiate this classifier with the given
options.
|
java.lang.String |
toString()
This method converts the current set of arguments and the
class name to a string value representing the command line
invocation
|
void |
updateDescriptionText()
This method loops through all of the properties of a classifier to
build the html toolTipText that will show all of the property values
for this model.
|
public EnsembleLibraryModel()
public EnsembleLibraryModel(weka.classifiers.Classifier classifier)
classifier
- the classifier to usepublic void testOptions()
public weka.classifiers.Classifier getClassifier()
public java.lang.String getStringRepresentation()
public void setDescriptionText(java.lang.String descriptionText)
descriptionText
- the descriptionpublic java.lang.String getDescriptionText()
public void setErrorText(java.lang.String errorText)
errorText
- the error textpublic java.lang.String getErrorText()
public void setOptionsWereValid(boolean optionsWereValid)
optionsWereValid
- if true, the options were validpublic boolean getOptionsWereValid()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Class getModelClass()
public java.lang.String[] getOptions()
public void updateDescriptionText()
public java.lang.String getRevision()
getRevision
in interface weka.core.RevisionHandler