edu.cmu.minorthird.classify
Interface HasSubpopulationId

All Known Subinterfaces:
CandidateSegmentGroup, Instance
All Known Implementing Classes:
AbstractInstance, AugmentedInstance, CompactCandidateSegmentGroup, Example, FeatureFactory.CompactInstance, HyperplaneInstance, InstanceFromPrediction, InstanceFromSequence, MaskedInstance, MultiExample, MutableCandidateSegmentGroup, MutableInstance, SGMExample

public interface HasSubpopulationId

Marker interface for objects which support the 'getSubpopulationId' method.

Author:
William Cohen

Method Summary
 java.lang.String getSubpopulationId()
          Get the subpopulation from which this instance was drawn.
 

Method Detail

getSubpopulationId

java.lang.String getSubpopulationId()
Get the subpopulation from which this instance was drawn. A null id is considered to be a unique subpopulation---different from every other subpopulation, including other nulls. A subpopulation is a subset of the training data which is expected to contain additional regularities - for instance, pages from the same site, or spans from the same document. Testing routines may use subpopulation's to more correctly spit datasets into train/test subsets.