Hello!
My code worked perfectly as expected when I provided the number of bedrooms as my x and the pricing as my labels. However, the model did shockingly the complete opposite when I reserved my training data.
The loss shoots up to infinity until it reaches ‘nan’ (Not A Number). Can someone please explain why this is happening? I’m just curious to know why the model’s performance is so drastically inverted.
Thanks!
Shreyas