|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcc.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.ByGradientValuepublic double getValue()
getValue in interface Optimizable.ByGradientValueprotected void setCachedGradient(double[] gradient)
gradient -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||