Skip to content
Snippets Groups Projects
Commit 3d6d32a5 authored by lukas leufen's avatar lukas leufen
Browse files

added simple ols model

parent bf2208c5
Branches
Tags
2 merge requests!24include recent development,!23Lukas issue018 feat evaluate train val
Pipeline #27264 passed
......@@ -10,3 +10,4 @@ pytest-cov
pytest-html
pydot
mock
statsmodels
\ No newline at end of file
__author__ = "Felix Kleinert, Lukas Leufen"
__date__ = '2019-12-11'
import statsmodels.api as sm
def ordinary_least_squared_model(x, y):
ols_model = sm.OLS(y, x)
return ols_model.fit()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment