Skip to content

Commit 0301e06

Browse files
rubikTomDLT
authored andcommitted
DOC: add missing default value in LinearRegression docstring (scikit-learn#8873)
* DOC fix typos in linear_model.rst * Another typo * DOC: add missing default value in LinearRegression docstring and fix typo
1 parent 3a9b3f5 commit 0301e06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/linear_model/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,9 +404,9 @@ class LinearRegression(LinearModel, RegressorMixin):
404404
405405
Parameters
406406
----------
407-
fit_intercept : boolean, optional
407+
fit_intercept : boolean, optional, default True
408408
whether to calculate the intercept for this model. If set
409-
to false, no intercept will be used in calculations
409+
to False, no intercept will be used in calculations
410410
(e.g. data is expected to be already centered).
411411
412412
normalize : boolean, optional, default False

0 commit comments

Comments
 (0)