Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model fails to learn when features are greater than 2D #5

Open
VRM1 opened this issue Sep 12, 2019 · 0 comments
Open

Model fails to learn when features are greater than 2D #5

VRM1 opened this issue Sep 12, 2019 · 0 comments

Comments

@VRM1
Copy link

VRM1 commented Sep 12, 2019

Hi,

Thanks a lot for sharing your code on Bayesian NN, it sure was very useful. However, when experimenting on regression problems > 2 variables and classification problems, the model does not seem to learn anything. The loss pretty much remains constant after a few iterations. This is especially true for Relu activation. To show this, I am attaching a zip file where, when you run the file example_regression.py, you get the following plot.

tmp
[BayesianNN_Problem.zip] (https://github.com/krasserm/bayesian-machine-learning/files/3607763/BayesianNN_Problem.zip)

As you can see, the model does not learn the shape when we have 2 features. This actually changes, if I change the activation from ‘relu’ to ‘tanh’! any reason why?

Additionally, I also tried your model for classifying fashion mnist data, and unfortunately, the model does not learn anything here and simply produces an accuracy of 10%

I am not sure as to what is wrong here. Any help is greatly appreciated!

Thanks
Vineeth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant