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

Issue while training LGCN #80

Open
ghost opened this issue Feb 4, 2021 · 1 comment
Open

Issue while training LGCN #80

ghost opened this issue Feb 4, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 4, 2021

Hi ! I am training LGCN on some custiom dataset. Training seems to run somehow but I get the following warning.

"/home/redion/redion_files/learn-to-cluster/faceCluster/lib/python3.6/site-packages/sklearn/metrics/_classification.py:1272: UndefinedMetricWarning: Recall is ill-defined and being set to 0.0 due to no true samples. Use zero_division parameter to control this behavior.
_warn_prf(average, modifier, msg_start, len(result))
"
What does this mean ? I get 97 percent accurracy but precision and recall are 0.

@yl-1993
Copy link
Owner

yl-1993 commented Dec 18, 2022

If precision is high but recall is low, it usually means the clustered results consist of many small clusters. In an extreme case, each instance is taken as a clustere. A possible reason may lie in the wrong linkage when building the graph. Checking the built graph or the training loss may help.

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