This learner provides fitting procedures for an adaptive regression procedure using piecewise linear splines to model the response, using the function polymars or polyclass from the polspline package as appropriate.

Format

R6Class object.

Value

Learner object with methods for training and prediction. See Lrnr_base for documentation on learners.

Parameters

cv

The number of cross-validation folds to be used in evaluating the sequence of fit models. This is only passed to polyclass for binary/categorical outcomes.

...

Other parameters passed to either polymars or polyclass. See their documentation for details.