Package cc.mallet.pipe
Class AugmentableFeatureVectorLogScale
- java.lang.Object
-
- cc.mallet.pipe.Pipe
-
- cc.mallet.pipe.AugmentableFeatureVectorLogScale
-
- All Implemented Interfaces:
AlphabetCarrying
,java.io.Serializable
public class AugmentableFeatureVectorLogScale extends Pipe
Given an AugmentableFeatureVector, set those values greater than or equal to 1 to log(value)+1. This is useful when multiple counts should not be treated as independent evidence.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AugmentableFeatureVectorLogScale()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Instance
pipe(Instance carrier)
Really this should be 'protected', but isn't for historical reasons.-
Methods inherited from class cc.mallet.pipe.Pipe
alphabetsMatch, getAlphabet, getAlphabets, getDataAlphabet, getInstanceId, getTargetAlphabet, instanceFrom, instancesFrom, instancesFrom, isDataAlphabetSet, isTargetProcessing, newIteratorFrom, preceedingPipeDataAlphabetNotification, preceedingPipeTargetAlphabetNotification, precondition, readResolve, setDataAlphabet, setOrCheckDataAlphabet, setOrCheckTargetAlphabet, setTargetAlphabet, setTargetProcessing
-
-