MeanFunctionEngine#

class cultivars.univariate.mean_function.MeanFunctionEngine(*args, **kwargs)[source]#

The plug-in training backend for a nonlinear mean function.

Any object exposing fit(features, target) -> MeanPredictor satisfies the contract, so a torch / jax / sklearn learner drops in by adapting to this one method.

Methods#

fit(features, target)

Fit the learner and return a MeanPredictor.