I have a highly imbalanced data, I know that some users suggesting using InfoGainLoss loss function, however, I am facing few errors when I tried to add this function to Caffe layers.
I have the following questions, I really appreciate if someone guides me:
- How can I add this layer to Caffe? Does anyone know any sources/ codes of this layer?
- I want to apply it for image segmentation and the proportion of some classes varies. How can I create the
Hmatrix (a stack of weights) for my images? And how infoGainLoss layer can read a specific weight matrix (H) related to that specific image? - After adding the
cppandcuversion of InforGainLoss layer to caffe, should I remake Caffe?
I am sorry for few question, but all are my concern and related to each other. I will be thankful to get some help and support. Thanks