|
|||||||||
| 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.OperatorChain
edu.udo.cs.yale.operator.validation.ValidationChain
edu.udo.cs.yale.operator.validation.RandomSplitValidationChain
public class RandomSplitValidationChain
A RandomSplitValidationChain splits up the example set into a
training and test set and evaluates the model. The first inner operator must
accept an ExampleSet while the second must
accept an ExampleSet and the output of the
first (which is in most cases a Model) and
must produce a PerformanceVector.
| Constructor Summary | |
|---|---|
RandomSplitValidationChain(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
IOObject[] |
estimatePerformance(ExampleSet inputSet)
This is the main method of the validation chain and must be implemented to estimate a performance of inner operators on the given example set. |
int |
getNumberOfValidationSteps()
Returns the number of validation steps, i.e. the number of times the inner operators of this validation chain are performed. |
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
| Methods inherited from class edu.udo.cs.yale.operator.validation.ValidationChain |
|---|
apply, evaluate, getInnerOperatorCondition, getInputClasses, getInputDescription, getMaxNumberOfInnerOperators, getMinNumberOfInnerOperators, getNumberOfSteps, getOutputClasses, learn, setResult |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RandomSplitValidationChain(OperatorDescription description)
| Method Detail |
|---|
public IOObject[] estimatePerformance(ExampleSet inputSet)
throws OperatorException
ValidationChain
estimatePerformance in class ValidationChainOperatorExceptionpublic int getNumberOfValidationSteps()
ValidationChain
getNumberOfValidationSteps in class ValidationChainpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in class ValidationChain
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||