Updating Logistic Regression with histogram