Skip to content

Release 0.7.0

Choose a tag to compare

@BerriJ BerriJ released this 04 Jun 08:03
613d26f

Changes:

The spline functions where rewritten to add the ability of using a non-equidistant knot sequence and a penalty term defined on the sobolev space. This change induces breaking changes to small parts of the API.

Interface:

  • ndiff defines the degree of differencing for creating the penalty term. For values between 1 and 2 a weighted sum of the difference penalization matrices is used.
  • rel_nseg is replaced by knot_distance ( distance between knots). Defaults to 0.025, which corresponds to the grid steps when knot_distance_power = 1 (the default).
  • A new parameter knot_distance_power defines if knots are uniformly distributed. Defaults to 1 which corresponds to the equidistant case. Values less than 1 create more knots in the center while values above 1 concentrate more knots in the tails.
  • A new parameter allow_quantile_crossing defines if quantile crossing is allowed. Defaults to false, which means that predictions will be sorted.

Internal changes:

  • Functions for calculating the b-spline basis are now exported to R as internal functions of the package. They can be accessed using the package:::function notation.

Refer to NEWS.md for changes in older versions.