load_boston
to provide the Boston housing dataset from the
datasets included with scikit-learn.
fit
calculates the coefficients and intercept that minimize the
RSS when the regression is used on each record in the training set.
row | principal component 1 | principal component 2 | principal component 3 |
---|---|---|---|
0 | -2.097842 | 0.777102 | 0.335076 |
1 | -1.456412 | 0.588088 | -0.701340 |
2 | -2.074152 | 0.602185 | 0.161234 |
3 | -2.611332 | -0.005981 | -0.101940 |
4 | -2.457972 | 0.098860 | -0.077893 |