Skip to main content

models.ModelForm

Base class of the built-in forms: holds the validated Config, checks the data.

Usage

Source

models.ModelForm(
    config=None,
    /,
    **params,
)

A subclass sets Config, drivers (whether it takes driver series) and _fit(y, X, spec) -> FittedModel.

Methods

Name Description
fit() Fit to y (a float series on a PeriodIndex) and drivers X on the same periods.

fit()

Fit to y (a float series on a PeriodIndex) and drivers X on the same periods.

Usage

Source

fit(y, X=None)