|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Learner
A Learner is an operator that encapsulates the learning step of a
machine learning method. Some Learners may be capable of estimating the
performance of the generated model. In that case, they additionally return a
PerformanceVector. Furthermore
some learner can calculate weights of the used attributes which can also be
delivered.
| Method Summary | |
|---|---|
PerformanceVector |
getEstimatedPerformance()
Most learners should throw an exception if they are not able to estimate the learning performance. |
java.lang.String |
getName()
Returns the name of the learner. |
AttributeWeights |
getWeights(ExampleSet eSet)
Most learners should throw an exception if they are not able to calculate attribute weights. |
Model |
learn(ExampleSet exampleSet)
Trains a model. |
boolean |
shouldCalculateWeights()
Most learners will return false since they are not able to calculate attribute weights. |
boolean |
shouldEstimatePerformance()
Most learners will return false since they are not able to estimate the learning performance. |
boolean |
supportsCapability(LearnerCapability capability)
Checks for Learner capabilities. |
| Method Detail |
|---|
Model learn(ExampleSet exampleSet)
throws OperatorException
OperatorExceptionjava.lang.String getName()
boolean supportsCapability(LearnerCapability capability)
boolean shouldEstimatePerformance()
PerformanceVector getEstimatedPerformance()
throws OperatorException
OperatorExceptionboolean shouldCalculateWeights()
AttributeWeights getWeights(ExampleSet eSet)
throws OperatorException
OperatorException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||