Modules
- This module implements an efficient algorithm for determining the pointwise minimum of a collection of affine linear functions on ℝ.
- The part of the solution concerned with the optimal partitions and general implementation of the dynamic program.
Macros
- Find maximum of given values
- Find minimum of given values
Structs
- A model for a timeseries and its CV score.
- A specification of a model on some segment of data given by the start and stop indices w.r.t. a timeseries.
- A solution of the optimization problem providing an interface to find the globally minimizing model of the CV score, the OSE optimal model and to investigate the CV and model functions.
- A nonempty, NaN-free time series sample
Enums
- The various kinds of errors that can happen during the polynomial fitting process.
Traits
- Safety
- A marker trait that we use to wrap all the properties we internally need of a floating point type
Functions
- Squared euclidean metric d(x,y)=‖x-y‖₂².
- Fit a piecewise polynomial to the timeseries sample.
Type Aliases
- A function mapping hyperparameter values to CV scores; each score being annotated with its standard error.
- An optimal model minimizing the CV score.
- Maps each penalty γ to the corresponding optimal models given as piecewise model specifications: the arguments of the “inner” piecewise function are jump indices.
- An optimal model with respect to the one standard error rule.
- Maps each penalty γ to the corresponding optimal model.