Package de.jungblut.math.minimize
Interface Minimizer
-
- All Known Implementing Classes:
AbstractMinimizer,Fmincg,GradientDescent,OWLQN,ParticleSwarmOptimization
public interface MinimizerMinimizer interface for various function minimizers.- Author:
- thomas.jungblut
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description de.jungblut.math.DoubleVectorminimize(CostFunction f, de.jungblut.math.DoubleVector theta, int maxIterations, boolean verbose)Minimizes the given costfunction with the starting parameter theta.
-
-
-
Method Detail
-
minimize
de.jungblut.math.DoubleVector minimize(CostFunction f, de.jungblut.math.DoubleVector theta, int maxIterations, boolean verbose)
Minimizes the given costfunction with the starting parameter theta.- Parameters:
f- the costfunction to minimize.theta- the starting parameters.maxIterations- the number of iterations to do.verbose- if TRUE it will print progress.- Returns:
- the optimized theta parameters.
-
-