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

Threshold to predict new data #5

Open
Hari-pyt opened this issue Mar 29, 2018 · 3 comments
Open

Threshold to predict new data #5

Hari-pyt opened this issue Mar 29, 2018 · 3 comments

Comments

@Hari-pyt
Copy link

Hari-pyt commented Mar 29, 2018

can i include round() in the final layer

or just put a threshold 0.5 for the sigmoid outputs for new predictions

@Hari-pyt Hari-pyt closed this as completed Apr 3, 2018
@marcoaleixo
Copy link

how you fixed that?

@Hari-pyt
Copy link
Author

Hari-pyt commented Apr 4, 2018

Sigmoid units will always give the probability of which class it belongs. So in cross validation ( evaluation) it round up the probability value and got 81 percent accuracy. So I placed a threshold on output file, if probability>0.5 = 1 else 0.

@Hari-pyt
Copy link
Author

Hari-pyt commented Apr 4, 2018

Also learned that if we add round() in final layer, network struggle with no improvement in accuracy.

@Hari-pyt Hari-pyt reopened this Apr 5, 2018
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

2 participants