|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmaxent.Model
public class Model
The Class Model.
| Field Summary | |
|---|---|
Data |
data
The data. |
Dictionary |
dict
The dict. |
Evaluation |
evaluation
The evaluation. |
FeatureGen |
feaGen
The fea gen. |
Inference |
inference
The inference. |
Option |
option
The option. |
Train |
train
The train. |
| Constructor Summary | |
|---|---|
Model()
Instantiates a new model. |
|
Model(Option option,
Data data,
Dictionary dict,
FeatureGen feaGen,
Train train,
Inference inference,
Evaluation evaluation)
Instantiates a new model. |
|
| Method Summary | |
|---|---|
void |
doInference(java.util.List data)
Do inference. |
void |
doTrain(java.io.PrintWriter fout)
Do train. |
void |
initInference()
Inits the inference. |
void |
updateFeatures()
Update features. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Option option
public Data data
public Dictionary dict
public FeatureGen feaGen
public Train train
public Inference inference
public Evaluation evaluation
| Constructor Detail |
|---|
public Model()
public Model(Option option,
Data data,
Dictionary dict,
FeatureGen feaGen,
Train train,
Inference inference,
Evaluation evaluation)
option - the optiondata - the datadict - the dictfeaGen - the fea gentrain - the traininference - the inferenceevaluation - the evaluation| Method Detail |
|---|
public void doTrain(java.io.PrintWriter fout)
fout - the foutpublic void updateFeatures()
public void initInference()
public void doInference(java.util.List data)
data - the data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||