Fix java logistic regression suite