|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcc.mallet.grmm.util.CachingOptimizable.ByBatchGradient
public abstract static class CachingOptimizable.ByBatchGradient
| 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.ByBatchGradient()
|
|
| Method Summary | |
|---|---|
protected abstract void |
computeBatchGradient(double[] buffer,
int batchIndex,
int[] batchAssignments)
|
protected abstract double |
computeBatchValue(int batchIndex,
int[] batchAssignments)
|
double |
getBatchValue(int batchIndex,
int[] batchAssignments)
|
void |
getBatchValueGradient(double[] buffer,
int batchIndex,
int[] batchAssignments)
|
| 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.ByBatchGradient()
| Method Detail |
|---|
public void getBatchValueGradient(double[] buffer,
int batchIndex,
int[] batchAssignments)
getBatchValueGradient in interface Optimizable.ByBatchGradient
public double getBatchValue(int batchIndex,
int[] batchAssignments)
getBatchValue in interface Optimizable.ByBatchGradient
protected abstract double computeBatchValue(int batchIndex,
int[] batchAssignments)
protected abstract void computeBatchGradient(double[] buffer,
int batchIndex,
int[] batchAssignments)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||