maximumLogLikelihood

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.