windkit.ltc.regression.VarianceRatioLinearRegression
- class windkit.ltc.regression.VarianceRatioLinearRegression(fit_intercept=True)[source]
Variance Ratio Linear Regression class striving towards the sklearn fit/predict standard
For now, only supports one independent variable. #TODO: multilinear variance ratio linear regression.
- Parameters:
fit_intercept (bool) – Whether to force the linear regression line through x,y=(0,0) default is True
Methods
__init__
([fit_intercept])fit
(X, y)Fit model.
predict
(X)Predict using the model.