logistic loss, test stage