I am trying to implement a simple CNN classification on a set of x-ray images belonging to 4 classes. The dataset looks like this:
img A B C D
1 [[[0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], ... 0 0 0 1
2 [[[0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], ... 0 0 0 1
3 [[[0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], ... 0 0 1 0
4 [[[0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], ... 0 0 0 1
A-80 B-300 C-70 D-150
How do I go on applying class weights in these settings?