since this is related to the new library, I guess I should ask here first.
@jeremy , any chance some kind of weighted categorical crossentropy is already implemented in fastai? This should included imho, to be able to penalize some misclassifications over others: one example would be on MNIST penalize more the 1-7 misclassification than the 8-0 on the loss computation.