cse-847-hw4 logistic_train.py is the script for part 1. It only requires python3 with numpy and tqdm is used to show a training progress bar. I used python here for the sake of time as MATLAB is very slow to run for me. l1_testing.m is the script for part 2.