|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.grmm.util.CachingOptimizable.ByGradient
public abstract static class CachingOptimizable.ByGradient
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface cc.mallet.optimize.Optimizable |
---|
Optimizable.ByBatchGradient, Optimizable.ByCombiningBatchGradient, Optimizable.ByGISUpdate, Optimizable.ByGradient, Optimizable.ByGradientValue, Optimizable.ByHessian, Optimizable.ByValue, Optimizable.ByVotedPerceptron |
Constructor Summary | |
---|---|
CachingOptimizable.ByGradient()
|
Method Summary | |
---|---|
protected abstract double |
computeValue()
|
protected abstract void |
computeValueGradient(double[] buffer)
|
double |
getValue()
|
void |
getValueGradient(double[] buffer)
|
protected void |
setCachedGradient(double[] gradient)
Sets the cached gradient. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface cc.mallet.optimize.Optimizable |
---|
getNumParameters, getParameter, getParameters, setParameter, setParameters |
Constructor Detail |
---|
public CachingOptimizable.ByGradient()
Method Detail |
---|
protected abstract double computeValue()
protected abstract void computeValueGradient(double[] buffer)
public void getValueGradient(double[] buffer)
getValueGradient
in interface Optimizable.ByGradientValue
public double getValue()
getValue
in interface Optimizable.ByGradientValue
protected void setCachedGradient(double[] gradient)
gradient
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |