Skip to content

Commit 3a1b4b8

Browse files
authored
DOC remove duplicated line of code in linear_model.rst (scikit-learn#19292)
1 parent ee32699 commit 3a1b4b8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

doc/modules/linear_model.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ and will store the coefficients :math:`w` of the linear model in its
4343

4444
>>> from sklearn import linear_model
4545
>>> reg = linear_model.LinearRegression()
46-
>>> reg.fit ([[0, 0], [1, 1], [2, 2]], [0, 1, 2])
47-
LinearRegression()
4846
>>> reg.fit([[0, 0], [1, 1], [2, 2]], [0, 1, 2])
4947
LinearRegression()
5048
>>> reg.coef_

0 commit comments

Comments
 (0)