Kubica learning from losses