koushikkumarl/capsuleNetwork_cancerclassification

X and Y Data

Moord14 opened this issue · 2 comments

Nice work, I am a bit of novice myself just trying to recreate your note book. would you mind explaining what was the format of your Y_Data labels?
Have tried multiple ways but seem to just read in an array of 0’s.
Regards,
David

Nice work, I am a bit of novice myself just trying to recreate your note book. would you mind explaining what was the format of your Y_Data labels?
Have tried multiple ways but seem to just read in an array of 0’s.
Regards,
David

Hi David, Y_Data are label encodings for the different categories of Images in dataset, they are numbered from 0-4.
image

The dataset I took have Colon_ACA, Colon_N, Lung_ACA, Lung_N, Lung_SCC images arranged in folders. I am assigning a number for each folder, and images belonging to that folder will have assigned number as Y_Data. This is happening through lines 23-32 on 'Process_Image' method.
image

Regards,
Koushik

Closing the issue, with no recent activity reported.