Browse Source

delete q1 (#50)

Week 2 Day 1 ex1 question 1 #27
pull/63/head
brad-gh 2 years ago committed by GitHub
parent
commit
d70312fb78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      piscine/week02/day01/ex01/README.md

6
piscine/week02/day01/ex01/README.md

@ -6,8 +6,6 @@ The goal of this exercise is to learn to fit a Scikit-learn estimator and use it
X, y = [[1],[2.1],[3]], [[1],[2],[3]]
```
1. Fit a LinearRegression from Scikit-learn with X the features and y the target.
1. Fit a LinearRegression from Scikit-learn with X the features and y the target and predict for `x_pred = [[4]]`
2. Predict for `x_pred = [[4]]`
3. Print the coefficients (`coefs_`) and the intercept (`intercept_`), the score (`score`) of the regression of X and y.
2. Print the coefficients (`coefs_`) and the intercept (`intercept_`), the score (`score`) of the regression of X and y.

Loading…
Cancel
Save