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

Validation loss is too high ..Am I calculating the loss properly? #147

Open
singhabhinav opened this issue Mar 10, 2023 · 0 comments
Open

Comments

@singhabhinav
Copy link

singhabhinav commented Mar 10, 2023

Hi,

I am using VotingClassifier and logging out training and validation loss in TensorBoard to find out if my model is overfitting or underfitting. I had to modify the VotingClassifier code to calculate the validation loss and store in the tensorboard logs. Here is my logic which I am using for calculating validation loss. I have changed the logic in voting.py under VotingClassifier..please see line number 28.

Screenshot 2023-03-10 at 11 27 34 PM

Below are my TensorBoard charts..We can see that validation loss is too high even though validation accuracy is very good. I am using cross entropy as criteria and the number of estimators are 10. Can you please let me know if my logic of calculating validation loss is right in VotingClassifier

Screenshot 2023-03-05 at 8 40 00 PM

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