srtree-2.0.1.4: A general library to work with Symbolic Regression expression trees.
Copyright(c) Fabricio Olivetti 2021 - 2024
LicenseBSD3
Maintainer[email protected]
Stabilityexperimental
PortabilityConstraintKinds
Safe HaskellNone
LanguageHaskell2010

Algorithm.SRTree.Opt

Description

Functions to optimize the parameters of an expression.

Synopsis

Documentation

minimizeNLL' :: (ObjectiveD -> Maybe VectorStorage -> LocalAlgorithm) -> Distribution -> Maybe PVector -> Int -> SRMatrix -> PVector -> Fix SRTree -> PVector -> (PVector, Double, Int) Source #

minimizes the negative log-likelihood of the expression

minimizeNLLWithFixedParam' :: (ObjectiveD -> Maybe VectorStorage -> LocalAlgorithm) -> Distribution -> Maybe PVector -> Int -> SRMatrix -> PVector -> Fix SRTree -> Int -> PVector -> PVector Source #

minimizes the function while keeping the parameter ix fixed (used to calculate the profile)

minimizeGaussian :: Int -> SRMatrix -> PVector -> Fix SRTree -> PVector -> (PVector, Double, Int) Source #

minimizes using Gaussian likelihood

minimizeBinomial :: Int -> SRMatrix -> PVector -> Fix SRTree -> PVector -> (PVector, Double, Int) Source #

minimizes using Binomial likelihood

minimizePoisson :: Int -> SRMatrix -> PVector -> Fix SRTree -> PVector -> (PVector, Double, Int) Source #

minimizes using Poisson likelihood