42-AI / bootcamp_machine-learning

Bootcamp to learn basics in Machine Learning
Other
205 stars 41 forks source link

CORRECTION ML01 EX00 missing 'reshape(-1, 1)' #198

Closed antoinedauchy closed 2 years ago

antoinedauchy commented 2 years ago

A 'reshape(-1, 1) is missing: The correction asks to test with x = np.array(range(1,11)) But the subject always give us vectors like this: [[1], [2], [3]] Not like [1, 2, 3]. So it's better with a reshape: x = np.array(range(1,11)).reshape(-1, 1)

Correction : Capture d’écran 2022-03-18 à 22 23 16

madvid commented 2 years ago

Nice issue ! clear ! I love it. The issue has been dupplicated and open in the corresponding private repo where the correction sheet are. The PR is merged