fit

MultiRegressionMixin.fit(X, y)[source]

Fits the data. After fitting, you can use the predict and plot_selection functions.

Make sure the input data X only has the necessary columns present.

Parameters

Xpd.DataFrame

The data

ypd.Series or np.array(1d)

The output variable