Interface IOptimizer
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractOptimizer,ApacheConjugateGradient,ApacheLevenbergMarquardt,ApacheMultiDirectional,ApacheNelderMead,ApacheOptimizer,GeneticAlg,GradientDescent,LeastSquares,NelderMead
The interface for the optimizers
-
Method Details
-
optimize
void optimize(org.eclipse.january.dataset.IDataset[] coords, org.eclipse.january.dataset.IDataset data, IFunction function) throws Exception Perform least squares optimization- Parameters:
coords- An array of datasets containing the coordinate positionsdata- A dataset containing the data to be fitted tofunction- A (possibly composite) function to fit- Throws:
Exception
-
optimize
Perform optimization of parameters at given coordinates in function- Parameters:
minimize- if true then minimize function, else maximize itfunction- A (possibly composite) function to fitcoords-- Throws:
Exception
-