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 OptimizerEvaluator.ByBatchGradient

Enclosing interface:
  OptimizerEvaluator

    public static interface OptimizerEvaluator.ByBatchGradient

Method Summary
`boolean` | `evaluate(Optimizable.ByBatchGradient maxable, int iter, int sampleId, int numSamples, int[] sampleAssns)` Performs some operation at the end of every batch.

Method Detail

### evaluate

    boolean evaluate(Optimizable.ByBatchGradient maxable,
                     int iter,
                     int sampleId,
                     int numSamples,
                     int[] sampleAssns)

  Performs some operation at the end of every batch.

  Parameters:
    `maxable` - Function that's being optimized.
    `iter` - Number of just-finished iteration.
    `sampleId` - Number of just-finished sample.
    `numSamples` - Number of samples total.
    `sampleAssns` - Assignments of instances to samples
  Returns:
    true if optimization should continue.

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