logistic_regress: Split data and plot