Optimizer

interface Optimizer<T, P : OptimizationProblem<T>>

Functions

Link copied to clipboard
abstract suspend fun optimize(problem: P): P

Inheritors

Link copied to clipboard

Extensions

Link copied to clipboard
suspend fun Optimizer<Double, FunctionOptimization<Double>>.maximumLogLikelihood(problem: XYFit): XYFit

Optimize given XY (least squares) problem using this function Optimizer. The problem is treated as maximum likelihood problem and is done via maximizing logarithmic likelihood, respecting possible weight dependency on the model and parameters.

Sources

Link copied to clipboard