Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## cc.mallet.optimize
Interface Optimizable.ByCombiningBatchGradient

All Superinterfaces:
  Optimizable

All Known Implementing Classes:
  CRFOptimizableByBatchLabelLikelihood

Enclosing interface:
  Optimizable

    public static interface Optimizable.ByCombiningBatchGradient

extends Optimizable

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`

Method Summary
`void` | `combineGradients(java.util.Collection<double[]> batchGradients, double[] buffer)`
`double` | `getBatchValue(int batchIndex, int[] batchAssignments)`
`void` | `getBatchValueGradient(double[] buffer, int batchIndex, int[] batchAssignments)`
`int` | `getNumBatches()`

Methods inherited from interface cc.mallet.optimize.Optimizable
`getNumParameters, getParameter, getParameters, setParameter, setParameters`

Method Detail

### getBatchValueGradient

    void getBatchValueGradient(double[] buffer,
                               int batchIndex,
                               int[] batchAssignments)

### getBatchValue

    double getBatchValue(int batchIndex,
                         int[] batchAssignments)

### combineGradients

    void combineGradients(java.util.Collection<double[]> batchGradients,
                          double[] buffer)

### getNumBatches

    int getNumBatches()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD