edu.cmu.minorthird.classify.transform
Class PredictedClassTransform

java.lang.Object
  extended by edu.cmu.minorthird.classify.transform.AbstractInstanceTransform
      extended by edu.cmu.minorthird.classify.transform.PredictedClassTransform
All Implemented Interfaces:
InstanceTransform, java.io.Serializable

public class PredictedClassTransform
extends AbstractInstanceTransform
implements java.io.Serializable

Author:
Cameron Williams Date: October 11, 2005 Stores a learned multiClassifier and uses that to predict a multiLabel for each instance. Each label from the multiLabel is then added as a feature to each instance.
See Also:
Serialized Form

Constructor Summary
PredictedClassTransform(MultiClassifier multiClassifier)
           
 
Method Summary
 Instance transform(Instance instance)
          Create a transformed copy of the instance.
 
Methods inherited from class edu.cmu.minorthird.classify.transform.AbstractInstanceTransform
transform, transform, transform, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PredictedClassTransform

public PredictedClassTransform(MultiClassifier multiClassifier)
Method Detail

transform

public Instance transform(Instance instance)
Description copied from interface: InstanceTransform
Create a transformed copy of the instance.

Specified by:
transform in interface InstanceTransform
Specified by:
transform in class AbstractInstanceTransform