Visitar URL original
Algorithm.SRTree.ModelSelection
srtree
Copyright(c) Fabricio Olivetti 2021 - 2024
LicenseBSD3
Maintainerfabricio.olivetti@gmail.com
Stabilityexperimental
PortabilityConstraintKinds
Safe HaskellNone
LanguageHaskell2010

Algorithm.SRTree.ModelSelection

Description

Helper functions for model selection criteria

Synopsis

Documentation

bic :: EvaluatedTree -> Double Source #

Bayesian information criterion

aic :: EvaluatedTree -> Double Source #

Akaike information criterion

mdl :: EvaluatedTree -> Double Source #

MDL as described in Bartlett, Deaglan J., Harry Desmond, and Pedro G. Ferreira. "Exhaustive symbolic regression." IEEE Transactions on Evolutionary Computation (2023).

mdlLatt :: EvaluatedTree -> Double Source #

MDL Lattice as described in Bartlett, Deaglan, Harry Desmond, and Pedro Ferreira. "Priors for symbolic regression." Proceedings of the Companion Conference on Genetic and Evolutionary Computation. 2023.

mdlFreq :: EvaluatedTree -> Double Source #

same as mdl but weighting the functional structure by frequency calculated using a wiki information of physics and engineering functions

data ModelEval Source #

The possible metrics used to evaluate/select a fitted model, ranging from plain loss functions (EvalLoss, wrapping any Loss -- including a distribution's negative log-likelihood via EvalLoss (NLL dist)) to the error metrics and model-selection criteria already provided by this module (RMSE, R2, AIC, BIC, Evidence, FBF, MDL, MDLLatt, MDLFreq).