loss function

Calculate or extract the loss of a tskrr model