Neural Network model only returning one value #7332
Unanswered
ntquanghai
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I think this looks absolutely correct. Note that the best threshold for binary classification tasks is not necessarily 0.5. It is usually to be expected that model outputs are much more biased towards zero in these highly skewed target distributions. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, so I am working on a very imbalanced dataset, and I intend to apply a binary classifier. I intend to use an Edge Classification approach, by treating each edges as nodes, since my graph's nodes contain no features. So far, I have set up the models, and done some training and testing. However, when I look further into the outputs of my model, most of the results all belong to class 0. I was wondering whether my approach here was correct or not, or is there something wrong with my configurations. Here are some data information:
Data(edge_index=[2, 811277], type=[9257], edge_attr=[811277, 20], num_nodes=9257)
I have read a bit of discussions, and I feel like maybe because the class distribution is too imbalance, causing the model to be much more heavily inclined to detect class 0, but I would love to hear some comments on the model building and such. Thank you for any and all help!
Beta Was this translation helpful? Give feedback.
All reactions