Added columns for prev_arr and prev_dep for varying predicition windows, split the dataframe into test and training set