Hi,
I am hoping to implement something like a weighted least squares minimization loss function.
For each sample,
there is a loss = sum(p_i * (x_io - x_i)^2) / N
x_io is the estimated value, x_i is the ground-truth and p_i is the weight. N is the number of attribute we have.
Does Caffe supports this structure ? Or is there any package that supports this structure ? If yes, where I can input the p_i ?
Thank you so much !
Best regards,
Yuhang