gov.sandia.cognition.learning.algorithm.tree
Interface VectorThresholdMaximumGainLearner<OutputType>

Type Parameters:
OutputType - The output type of the learner.
All Superinterfaces:
BatchLearner<Collection<? extends InputOutputPair<? extends Vectorizable,OutputType>>,VectorElementThresholdCategorizer>, Cloneable, CloneableSerializable, DeciderLearner<Vectorizable,OutputType,Boolean,VectorElementThresholdCategorizer>, Serializable
All Known Implementing Classes:
AbstractVectorThresholdMaximumGainLearner, VectorThresholdGiniImpurityLearner, VectorThresholdHellingerDistanceLearner, VectorThresholdInformationGainLearner

public interface VectorThresholdMaximumGainLearner<OutputType>
extends DeciderLearner<Vectorizable,OutputType,Boolean,VectorElementThresholdCategorizer>

An interface class for decider learners that produce a threshold function on a vector element based on maximizing some gain value.

Since:
3.1
Author:
Justin Basilico

Method Summary
 int[] getDimensionsToConsider()
          Gets the dimensions that the learner is to consider.
 void setDimensionsToConsider(int[] dimensionsToConsider)
          Gets the dimensions that the learner is to consider.
 
Methods inherited from interface gov.sandia.cognition.learning.algorithm.BatchLearner
learn
 
Methods inherited from interface gov.sandia.cognition.util.CloneableSerializable
clone
 

Method Detail

getDimensionsToConsider

int[] getDimensionsToConsider()
Gets the dimensions that the learner is to consider. Null means that all of them are included.

Returns:
The array of vector dimensions to consider. Null means all of them are considered.

setDimensionsToConsider

void setDimensionsToConsider(int[] dimensionsToConsider)
Gets the dimensions that the learner is to consider. Null means that all of them are included.

Parameters:
dimensionsToConsider - The array of vector dimensions to consider. Null means all of them are considered.