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

High Accuracy but F1 Score is 0.0 on UK-DALE Dataset Using Provided Code #3

Open
Badar-e-Alam opened this issue Jul 16, 2024 · 0 comments

Comments

@Badar-e-Alam
Copy link

I am using the code for the UK-DALE dataset to reproduce the results. From the initial experiments, the accuracy is quite high, but the F1 score is consistently 0.0. I have used both the provided code, which calculates the F1 score manually per batch, and the torch.metrics.F1Score class. Any hint what could be reasons.

FYI, I've also modified the following code for the in the load_data function.

                  if house_id == self.house_indicies[0]:
                              entire_data = house_data
                    else:
                             entire_data = pd.concat([entire_data, house_data], axis=0)

Please provide any insights or suggestions on this issue. Thank you

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