| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
DataFrame.SymbolicRegression
Description
Symbolic regression by genetic programming (modelled on the
symbolic-regression library, ported dependency-light: no e-graphs, no NLOPT).
predict is the best discovered Expr Double; the search also returns the
accuracy-vs-complexity Pareto front. Deterministic given the seed.
Synopsis
- module DataFrame.Model
- data UnOp
- data SRConfig = SRConfig {
- srSeed :: !Int
- srPopSize :: !Int
- srGenerations :: !Int
- srMaxSize :: !Int
- srTournament :: !Int
- srCrossoverP :: !Double
- srMutationP :: !Double
- srOptimizeP :: !Double
- srParsimony :: !Double
- srUnaryOps :: ![UnOp]
- defaultSRConfig :: SRConfig
- data SRModel = SRModel {}
Documentation
module DataFrame.Model
Constructors
| SRConfig | |
Fields
| |
Instances
| Show SRConfig Source # | |
| Eq SRConfig Source # | |
| SegmentFit SRConfig Double Source # | Symbolic-regression segments support independent fitting (lambda = 0) only. |
| Fit SRConfig (Expr Double) Source # | |
| type FrameReq SRConfig (Expr Double) Source # | |
| type ModelOf SRConfig (Expr Double) Source # | |
A fitted symbolic regressor. srBest is the lowest-error expression;
srPareto is the (complexity, mse, expr) frontier.
Constructors
| SRModel | |
Instances
| Predict SRModel Source # | |||||
Defined in DataFrame.SymbolicRegression Associated Types
| |||||
| type Prediction SRModel Source # | |||||
Defined in DataFrame.SymbolicRegression | |||||