Options

What does it mean when i have 0 true positives and false positives?

pvds90pvds90 Member Posts: 8 Learner I
Hi guys,

I'm running a couple of clustering algorithms on a set with a target label. I'm measuring precision and recall, but both are 0% (zero false positives, zero true positives) for the agglomerative clustering algorithm. What does this say in general? I've never had something like that. With every measure type, it gives me 1126 TN & 1126 FN. I already downsampled the label to equal numbers, no difference. 

Thanks in advance.

Best Answer

Answers

  • Options
    jacobcybulskijacobcybulski Member, University Professor Posts: 391 Unicorn
    It means that your model does a "sink test" which means it classifies everything as negative, regardless of anything. So it is a bad model.
  • Options
    pvds90pvds90 Member Posts: 8 Learner I
    @jacobcybulski
    Do you have any tips how to get better performance? 
  • Options
    jacobcybulskijacobcybulski Member, University Professor Posts: 391 Unicorn
    It is not clear to me how you get precision and recall from agglomerative clustering, especially that you already have some label. I do not think clustering is likely to generate your labels and it would be very hard to align your labels with clusters. Perhaps you are using a cluster variable as a label and then build a classification model? There is too many unknowns.
  • Options
    pvds90pvds90 Member Posts: 8 Learner I
    I'm using agglomerative clustering and flatten clustering after that with k=2 (because i have 1 labeled cluster). It works when i have another target label, but with one target label i only get 0 percent scores. 
  • Options
    pvds90pvds90 Member Posts: 8 Learner I
    Thanks!
Sign In or Register to comment.