As per the suggestion by @ogrisel, @thomasjpfan and @jnothman in #15007 , this function is required. Also, need `neg_mare` scorer.