0
$\begingroup$

I’m currently working on covid detection project using x-rays. I applied K -means clustering algorithm (https://www.kaggle.com/code/naim99/image-classification-clustering-step-by-step?scriptVersionId=48171200) used in this link, on x-ray image (The following is the image result).

Covid

However, while training a machine learning classifier (RandomForestClassifier) on the segmented images using k-means, the classifier performs a bit worse (performance result in below image on segmented images with accuracy= 0.889… on the left, performance on unsegmented images with accuracy = 0.9..image on the right.

Result

Could an image segmentation technique make the prediction worse? Or does it mean that the segmentation technique of k-means isn't efficient on image x-rays and i should try another way?

$\endgroup$

1 Answer 1

1
$\begingroup$

"Could an image segmentation technique make the prediction worse?"

Yes, it is entirely possible that a classifier trained on the segmented image performs worse than a classifier trained on unsegmented images. One possible reason is that there is information elsewhere in the image that was revealing of COVID status that is removed in the segmented image. For example, it has been suggested that COVID has impact on more than just the lungs. Second, the two models that you are training are different, and they can absolutely have different performances. Finally, it is worth noting that the differences that you are seeing are small and may be within a margin of error. In other words, by sampling a different batch of images, you may see a reversal in the ranking of model performances.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .