liana.method.sp.LinearModel#
- class liana.method.sp.LinearModel(seed, **kwargs)#
Linear regression model using
statsmodels.OLSfor feature importances, andcross_val_predictwithsklearn.LinearRegressionfor predictions. Inherits fromSingleViewModel
Methods table#
Methods#
- LinearModel.fit(y, X, predictors, k_cv=None)#
Fits a Linear Model (LM) model.