Deep learning framework by BAIR
Created by
Yangqing Jia
Lead Developer
Evan Shelhamer
InfogainLoss./include/caffe/layers/infogain_loss_layer.hpp./src/caffe/layers/infogain_loss_layer.cppA generalization of MultinomialLogisticLossLayer that takes an “information gain” (infogain) matrix specifying the “value” of all label pairs.
Equivalent to the MultinomialLogisticLossLayer if the infogain matrix is the identity.
Parameter infogain_param)./src/caffe/proto/caffe.proto:message InfogainLossParameter {
// Specify the infogain matrix source.
optional string source = 1;
optional int32 axis = 2 [default = 1]; // axis of prob
}