Interface IGradientBasedOptimizer
-
- All Known Implementing Classes:
GradientDescentOptimizer
public interface IGradientBasedOptimizer
Interface for an optimizer that is based on a gradient descent and gets a differentiable function and the derivation of said function to solve an optimization problem.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.api4.java.common.math.IVector
optimize(IGradientDescendableFunction descendableFunction, IGradientFunction gradient, org.api4.java.common.math.IVector initialGuess)
Optimize the given function based on its derivation.
-
-
-
Method Detail
-
optimize
org.api4.java.common.math.IVector optimize(IGradientDescendableFunction descendableFunction, IGradientFunction gradient, org.api4.java.common.math.IVector initialGuess)
Optimize the given function based on its derivation.- Parameters:
descendableFunction
- the function to optimizegradient
- the first order derivate of the functioninitialGuess
- the initial guess for the parameters that shall be optimized- Returns:
- the optimized vector
-
-