Logistic Regression Training Loop | TensorTonic