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

Add NN function #413

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Elvis-ever
Copy link

Go through the practice results, it looks that NN need an activation function (like relu), otherwise it's just a trivial linear model.By applying relu, the accuracy is neural_network.py: 92% -> 95%,
Accuracy for neural_network_raw.py: 92% -> 94%.And the learning rate is too large, even for example. In practice, it is usually set between 1e-2 and 1e-4.

@xy-always
Copy link

xy-always commented Aug 30, 2022 via email

@jiandandema
Copy link

jiandandema commented Aug 30, 2022 via email

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

Successfully merging this pull request may close these issues.

3 participants