edu.cmu.minorthird.classify.transform
Class ReweightingInstanceTransform

java.lang.Object
  extended by edu.cmu.minorthird.classify.transform.AbstractInstanceTransform
      extended by edu.cmu.minorthird.classify.transform.ReweightingInstanceTransform
All Implemented Interfaces:
InstanceTransform

public class ReweightingInstanceTransform
extends AbstractInstanceTransform

Author:
William Cohen

Constructor Summary
ReweightingInstanceTransform(FeatureReweighter reweighter)
           
 
Method Summary
 java.lang.String toString()
           
 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, wait, wait, wait
 

Constructor Detail

ReweightingInstanceTransform

public ReweightingInstanceTransform(FeatureReweighter reweighter)
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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object