jsat.math.optimization
Class GoldenSearch
- java.lang.Object
-
- jsat.math.optimization.GoldenSearch
-
public class GoldenSearch extends java.lang.ObjectMinimizes a single variate function in the same way that
-
-
Constructor Summary
Constructors Constructor and Description GoldenSearch()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static doubleminimize(double eps, int maxIterations, double a, double b, Function1D f)Finds the local minimum of the functionf.
-
-
-
Method Detail
-
minimize
public static double minimize(double eps, int maxIterations, double a, double b, Function1D f)Finds the local minimum of the functionf.- Parameters:
eps- the desired accuracy of the resultmaxIterations- the maximum number of iterations to performa- the left bound on the minimumb- the right bound on the minimumf- the function to find the minimize of- Returns:
- the value of variable
posthat produces the local minima
-
-
DataMelt 3.0 © DataMelt by jWork.ORG