FunctionOptimization

interface FunctionOptimization<T : Any> : Optimization<T>

A likelihood function optimization problem with provided derivatives

Types

Companion
Link copied to clipboard
common
object Companion

Functions

diffFunction
Link copied to clipboard
common
abstract fun diffFunction(expression: DifferentiableExpression<T, Expression<T>>)
Set a differentiable expression as objective function as function and gradient provider
initialGuess
Link copied to clipboard
common
abstract fun initialGuess(map: Map<Symbol, T>)
Define the initial guess for the optimization problem
optimize
Link copied to clipboard
common
abstract fun optimize(): OptimizationResult<T>
Make an optimization run
update
Link copied to clipboard
common
abstract fun update(result: OptimizationResult<T>)
Update the problem from previous optimization run

Properties

maximize
Link copied to clipboard
common
abstract var maximize: Boolean
The optimization direction.

Extensions

chiSquared
Link copied to clipboard
common
fun <T : Any, I : Any, A : ExtendedField<I>, ExpressionAlgebra<T, I>> FunctionOptimization<T>.chiSquared(autoDiff: AutoDiffProcessor<T, I, A, Expression<T>>, x: Buffer<T>, y: Buffer<T>, yErr: Buffer<T>, model: A.(I) -> I)
Define a chi-squared-based objective function