Crate pcw_regrs

source ·

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

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

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.