|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.operator.Operator
edu.udo.cs.yale.operator.learner.AbstractLearner
edu.udo.cs.yale.operator.learner.weka.GenericWekaLearner
public class GenericWekaLearner
Performs the Weka learning scheme with the same name. See the Weka javadoc
for further classifier and parameter descriptions.
| Field Summary | |
|---|---|
static java.lang.String[] |
WEKA_CLASSIFIERS
|
private java.util.List<ParameterType> |
wekaParameters
The list with the weka parameters. |
| Constructor Summary | |
|---|---|
GenericWekaLearner(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
weka.core.TechnicalInformation |
getTechnicalInformation()
|
private weka.classifiers.Classifier |
getWekaClassifier(java.lang.String[] parameters)
Returns the Weka classifier based on the subtype of this operator. |
java.lang.String |
getWekaClassPath()
This method is used by the GenericWekaMetaLearner to specify the
learners name. |
java.util.List |
getWekaParameterList()
This method is used by the GenericWekaMetaLearner to specify the
learners parameters. |
Model |
learn(ExampleSet exampleSet)
Trains a model. |
boolean |
supportsCapability(LearnerCapability capability)
Checks for Learner capabilities. |
| Methods inherited from class edu.udo.cs.yale.operator.learner.AbstractLearner |
|---|
apply, checkLearnerCapabilities, getEstimatedPerformance, getInputClasses, getInputDescription, getOptimizationPerformance, getOutputClasses, getWeights, shouldCalculateWeights, shouldDeliverOptimizationPerformance, shouldEstimatePerformance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface edu.udo.cs.yale.operator.learner.Learner |
|---|
getName |
| Field Detail |
|---|
public static final java.lang.String[] WEKA_CLASSIFIERS
private java.util.List<ParameterType> wekaParameters
| Constructor Detail |
|---|
public GenericWekaLearner(OperatorDescription description)
| Method Detail |
|---|
public Model learn(ExampleSet exampleSet)
throws OperatorException
Learner
learn in interface LearnerOperatorException
private weka.classifiers.Classifier getWekaClassifier(java.lang.String[] parameters)
throws OperatorException
OperatorExceptionpublic weka.core.TechnicalInformation getTechnicalInformation()
getTechnicalInformation in interface weka.core.TechnicalInformationHandlerpublic java.lang.String getWekaClassPath()
GenericWekaMetaLearner to specify the
learners name.
public java.util.List getWekaParameterList()
GenericWekaMetaLearner to specify the
learners parameters.
public boolean supportsCapability(LearnerCapability capability)
Learner
supportsCapability in interface Learnerpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in class Operator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||