Return the shapes of the feature matrix and the target as a list: [list(X.shape…

Machine Learning · from What learning from data means

X and ysupervisedclassificationregressiongeneralisationwhen not to use ML

Putting the kettle on…

Starting up…

Exercise 1

Return the shapes of the feature matrix and the target as a list: [list(X.shape), list(y.shape)]. Note that X is 2-D and y is 1-D — that difference is baked into every scikit-learn call.

your answer
stuck? the lesson behind it
What learning from data means
Features, target, generalisation — and when to write a rule instead