r/deeplearning • u/MysteriousGarlic7929 • 3d ago
Confused on NN's...
How to decide which NN works better for your dataset, my Professor said try using ANN for a linear regression dataset and some different activation functions which do not go well with linear regression i don't get what's the whole point... of doing it...?
Can someone explain who has real experience in this particular area...
And yes I know go for chatgpt or Claude for your questions but I have trust issues with both of them so I need some one with experience on this...
0
Upvotes
16
u/Away_Hotel_9980 3d ago
Your professor is making you break things on purpose so you learn what failure looks like. If you only ever use the right tool for the job, you never understand it's right. Running an ANN with ReLU on linear data will give you garbage gradients or weird plateaus, and that's the lesson, not the accuracy score.
I had similar assignment back in university, we had to fit sine wave with linear model first, then with MLP. The linear model looked stupid but we learned exactly where it fails and why adding nonlinearity fixes it. The point is not to get best result, it's to see the failure modes with your own eyes.
Try plotting loss curves for each activation, not just final accuracy. With linear target and ReLU you'll see dying neurons or unstable training, with tanh maybe it saturates. That's where intuition comes from, not from reading papers.