Update sample_logistic_regression.cpp