Skip to content

Commit 13802c9

Browse files
author
sborms
committed
updates v1.1.0
1 parent 16342ab commit 13802c9

4 files changed

Lines changed: 372 additions & 314 deletions

File tree

README.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ Documentation and extra material
6161

6262
- HTML documentation of the `individual modules <https://pythonpredictions.github.io/cobra.io/docstring/modules.html>`_.
6363

64-
- A step-by-step `tutorial <https://pythonpredictions.github.io/cobra/tutorials/tutorial_Cobra_logistic_regression.ipynb>`_ for **logistic regression**.
65-
66-
- A step-by-step `tutorial <https://pythonpredictions.github.io/cobra/tutorials/tutorial_Cobra_linear_regression.ipynb>`__ for **linear regression**.
64+
- Step-by-step `tutorials <https://github.com/PythonPredictions/cobra/blob/master/tutorials>`_ for a logistic and a linear regression use case.
6765

6866
- Check out the Data Science Leuven Meetup `talk <https://www.youtube.com/watch?v=w7ceZZqMEaA&feature=youtu.be>`_ by one of the core developers (second presentation). His `slides <https://github.com/PythonPredictions/Cobra-DS-meetup-Leuven/blob/main/DS_Leuven_meetup_20210209_cobra.pdf>`_ and `related material <https://github.com/PythonPredictions/Cobra-DS-meetup-Leuven>`_ are also available.
6967

cobra/model_building/models.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,9 @@ class LinearRegressionModel:
261261
"""
262262

263263
def __init__(self):
264-
self.linear = LinearRegression(fit_intercept=True, normalize=False)
264+
self.linear = LinearRegression(fit_intercept=True)
265265
self._is_fitted = False
266-
# placeholder to keep track of a list of predictors
267-
self.predictors = []
266+
self.predictors = [] # placeholder to keep track of a list of predictors
268267
self._eval_metrics_by_split = {}
269268

270269
def serialize(self) -> dict:

0 commit comments

Comments
 (0)