| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
MaxentFeatureEncodingI --+
|
BinaryMaxentFeatureEncoding --+
|
GISEncoding
A binary feature encoding which adds one new joint-feature to the joint-features defined by BinaryMaxentFeatureEncoding: a correction feature, whose value is chosen to ensure that the sparse vector always sums to a constant non-negative number. This new feature is used to ensure two preconditions for the GIS training algorithm:
|
|||
|
|||
list of (int, number)
|
|
||
int
|
|
||
str
|
|
||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
_C The non-negative constant that all encoded feature vectors will sum to. |
|||
|
|||
|
C The non-negative constant that all encoded feature vectors will sum to. |
|||
|
|||
See Also: BinaryMaxentFeatureEncoding.__init__ |
Given a (featureset, label) pair, return the corresponding vector of
joint-feature values. This vector is represented as a list of
|
|
|
|
|||
CThe non-negative constant that all encoded feature vectors will sum to. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Apr 11 14:39:44 2011 | http://epydoc.sourceforge.net |