public interface StochasticMinimizer
| Modifier and Type | Method and Description |
|---|---|
de.jungblut.math.DoubleVector |
minimize(de.jungblut.math.DoubleVector start,
java.util.function.Supplier<java.util.stream.Stream<de.jungblut.online.ml.FeatureOutcomePair>> streamSupplier,
StochasticCostFunction costFunction,
int numPasses,
boolean verbose)
Minimizes the given stochastic cost function on the supplied streams for
the given amount of passes over the data.
|
de.jungblut.math.DoubleVector minimize(de.jungblut.math.DoubleVector start,
java.util.function.Supplier<java.util.stream.Stream<de.jungblut.online.ml.FeatureOutcomePair>> streamSupplier,
StochasticCostFunction costFunction,
int numPasses,
boolean verbose)
start - the start parameters.streamSupplier - the supplier for the data training streams.costFunction - the cost function to minimize.numPasses - the number of passes over the streams.verbose - true if progress should be printed to the log.Copyright © 2015. All rights reserved.