|
|||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||||||
java.lang.Objectweka.classifiers.EnsembleLibraryModel
public class EnsembleLibraryModel
This class is a light wrapper that is meant to represent a classifier in a classifier library. This simple base class is intended only to store the class type and the parameters for a specific "type" of classifier. You will need to extend this class to add functionality specific to models that have been trained on data (as we have for Ensemble Selection)
| Constructor Summary | |
|---|---|
EnsembleLibraryModel()
Default Constructor |
|
EnsembleLibraryModel(Classifier classifier)
Initializes the class with the given classifier. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EnsembleLibraryModel()
public EnsembleLibraryModel(Classifier classifier)
classifier - the classifier to use| Method Detail |
|---|
public void testOptions()
public 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.Objectpublic java.lang.Class getModelClass()
public java.lang.String[] getOptions()
public void updateDescriptionText()
public java.lang.String getRevision()
getRevision in interface RevisionHandler
|
|||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||||||