Lab Assignment 2: excercise 2

Why is y_val being used ?? Aren’t we doing a "supervised learning " ??
Can anyone recommend a good material(video/course) for understanding basics of numpy :sweat_smile:??

Hello @John21 !

In supervised learning we provide the model with what is called “ground true”. Which is the right answers for it to train. So there is an external “agent” providing the correct answers. In unsupervised learning, we don’t give the answers to the model, as in clustering. In code we call “y_val” the answers used to validate the model. Hope this helps!

1 Like