|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.stanford.nlp.ie.hmm.DiscriminativeHMMDiffFunction
Interface to optimization package for discriminatively learning the structure of an HMM. Right now for testing purposes this just models the function x^2.
Constructor Summary | |
DiscriminativeHMMDiffFunction()
|
Method Summary | |
double[] |
derivativeAt(double[] x)
Returns the first-derivative vector at the input location. |
int |
domainDimension()
Returns the number of dimensions in the function's domain |
static void |
main(String[] args)
For internal debugging purposes only. |
double |
valueAt(double[] x)
Returns the value of the function at a single point. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DiscriminativeHMMDiffFunction()
Method Detail |
public double[] derivativeAt(double[] x)
derivativeAt
in interface DiffFunction
x
- a double[]
input vector
public int domainDimension()
domainDimension
in interface Function
public double valueAt(double[] x)
valueAt
in interface Function
x
- a double[]
input
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |