threshold parameter was ignored in SquaredHinge loss.