I have created neural network linear reression model for house price prediction dataset and getting accuracy between 4.7522e-05 to 8.1926e-05 based on dfferent hyperparameter. but every time i train model using training dataset i am getting same accuracy even though MSE is getting reduced. I tried to tune hyperparameters but no luck. I am not getting why my accuracy is not improving and getting same value in each epoch.
Please move your topic to the correct subcategory.
Here’s the community user guide to get started.
Posting code related to a course assignment in public is discouraged and could get your account suspended. It’s okay to leave stacktraces in public though.
If your question belongs to the General category, consider setting the notebook permission to allow viewing access to those who have the link.
Can you elaborate on your hyperparameters and how tuned it?
For others to give any idea about how you could improve accuracy of your model, one needs to know
Your dataset/model in detail and how dataset was split. If you have used the same house price prediction dataset, then what other changes you made in your model.
What additional features you added.
if any additional polynomial features were added?
Based on the above pointers how did your regularization parameter was assignment.
That will get you to know how you could address the issue.
For hyper-parameter tuning i have tried below things-
1] I have done preprocessing on house price dataset before training a model.
2] I tried different numbers neurons and hidden layer to improve accuracy.
3] I tried different optimizers like adam, RMSPROPS, Adagrad and batch size, epochs.
4] I also tried to apply l1 and l2 regularization and i have tried with no regularization.
Despite above hyperparaeter tuning accuracy is same.
This is incorrect since the metric is computed considering that the problem is a classification problem. For regression, use metrics like MSE / MAE. Here’s an example
No. I have applied regularization but the training, validation and test cost is same that i got without applying regularization. There is no change in cost.
I haven’t got the chance to look at your assignment book. I am travelling. Will let you know by tomorrow once I have a look at your model.
Based on what both mentors Tom and Balaji have mentioned, you surely cannot use both the regularisation L1 and L2 for the same model. You need to choose one of them based on what kind of analysis and classification you are handling. Same goes for metric, although I don’t know what is your analysis but from what I remember housing pricing prediction has one factor multifactorial giving a price range analysis, so the metric applied is incorrect as told by Balaji.