edu.isi.karma.modeling.semantictypes.mycrf.globaldata
Class GlobalDataFieldOnly
java.lang.Object
edu.isi.karma.modeling.semantictypes.mycrf.globaldata.GlobalDataAbstract
edu.isi.karma.modeling.semantictypes.mycrf.globaldata.GlobalDataFieldOnly
public class GlobalDataFieldOnly
- extends GlobalDataAbstract
This class represents global information used while creating graphs or training the CRF model
- Author:
- amangoel
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
labels
public java.util.ArrayList<java.lang.String> labels
crfModel
public CRFModelFieldOnly crfModel
GlobalDataFieldOnly
public GlobalDataFieldOnly()
collectAllLabels
public void collectAllLabels(java.util.ArrayList<java.lang.String> files)
errorGradient
public void errorGradient(double[] gradient)
- Specified by:
errorGradient
in class GlobalDataAbstract
errorValue
public double errorValue()
- Specified by:
errorValue
in class GlobalDataAbstract