From 83f9a261c6e11fef81659ca15ff32c305088f948 Mon Sep 17 00:00:00 2001 From: Sandy Khosasi <45941585+ilos-vigil@users.noreply.github.com> Date: Thu, 28 Jan 2021 21:23:21 +0700 Subject: [PATCH] Fix duplicate code on linear_model.rst --- doc/modules/linear_model.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/doc/modules/linear_model.rst b/doc/modules/linear_model.rst index 3b8e956136bf8..f1f376dc641c9 100644 --- a/doc/modules/linear_model.rst +++ b/doc/modules/linear_model.rst @@ -43,8 +43,6 @@ and will store the coefficients :math:`w` of the linear model in its >>> from sklearn import linear_model >>> reg = linear_model.LinearRegression() - >>> reg.fit ([[0, 0], [1, 1], [2, 2]], [0, 1, 2]) - LinearRegression() >>> reg.fit([[0, 0], [1, 1], [2, 2]], [0, 1, 2]) LinearRegression() >>> reg.coef_