File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 55=========================================================
66Linear Regression Example
77=========================================================
8- This example uses the only the first feature of the `diabetes` dataset, in
9- order to illustrate a two-dimensional plot of this regression technique. The
10- straight line can be seen in the plot, showing how linear regression attempts
11- to draw a straight line that will best minimize the residual sum of squares
12- between the observed responses in the dataset, and the responses predicted by
13- the linear approximation.
14-
15- The coefficients, the residual sum of squares and the coefficient
16- of determination are also calculated.
17-
8+ The example below uses only the first feature of the `diabetes` dataset,
9+ in order to illustrate the data points within the two-dimensional plot.
10+ The straight line can be seen in the plot, showing how linear regression
11+ attempts to draw a straight line that will best minimize the
12+ residual sum of squares between the observed responses in the dataset,
13+ and the responses predicted by the linear approximation.
14+
15+ The coefficients, residual sum of squares and the coefficient of
16+ determination are also calculated.
1817"""
1918print (__doc__ )
2019
You can’t perform that action at this time.
0 commit comments