mirror of https://github.com/01-edu/Branch-AI.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
883 B
28 lines
883 B
2 years ago
|
##### The exercice is validated is all questions of the exercice are validated
|
||
|
|
||
|
##### The question 1 is validated if the plot looks like:
|
||
|
|
||
|
![alt text][q1]
|
||
|
|
||
|
[q1]: ../w2_day1_ex2_q1.png "Scatter plot"
|
||
|
|
||
|
##### The question 2 is validated if the equation of the fitted line is: `y = 42.619430291366946 * x + 99.18581817296929`
|
||
|
|
||
|
##### The question 3 is validated if the plot looks like:
|
||
|
|
||
|
![alt text][q3]
|
||
|
|
||
|
[q3]: ../w2_day1_ex2_q3.png "Scatter plot + fitted line"
|
||
|
|
||
|
##### The question 4 is validated if the outputted prediction for the first 10 values are:
|
||
|
|
||
|
```python
|
||
|
array([ 83.86186727, 140.80961751, 116.3333897 , 64.52998689,
|
||
|
61.34889539, 118.10301628, 57.5347917 , 117.44107847,
|
||
|
108.06237908, 85.90762675])
|
||
|
```
|
||
|
|
||
|
##### The question 5 is validated if the MSE returned is `114.17148616819485`
|
||
|
|
||
|
##### The question 6 is validated if the MSE returned is `2854.2871542048706`
|