|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjml.classification.MaxEntModel
class MaxEntModel
Maximum entropy model parameters.
Field Summary | |
---|---|
(package private) int[] |
IDLabelMap
An ID to integer label mapping array. |
int |
nClass
Number of classes. |
int |
nFeature
Number of features, without bias dummy features, i.e., for SVM. |
private static long |
serialVersionUID
|
(package private) org.apache.commons.math.linear.RealMatrix |
W
An nFeature x 1 RealMatrix . |
Constructor Summary | |
---|---|
MaxEntModel(int nClass,
org.apache.commons.math.linear.RealMatrix W,
int[] IDLabelMap)
Constructor for a MaxEnt model. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
public int nClass
public int nFeature
org.apache.commons.math.linear.RealMatrix W
RealMatrix
.
int[] IDLabelMap
Constructor Detail |
---|
public MaxEntModel(int nClass, org.apache.commons.math.linear.RealMatrix W, int[] IDLabelMap)
nClass
- number of classesW
- an nFeature x 1 RealMatrix
IDLabelMap
- an ID to integer label mapping array
where IDs start from 0
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |