ipykernel_launcher.py:21: RuntimeWarning: invalid value encountered in less
ipykernel_launcher.py:2: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy
Thanks. The RuntimeWarning is due to a NaN value in pred_list which is expected. I have also fixed the SettingWithCopyWarning issue in the latest commit here.
Note these warnings do not impact the results.
When running
The following warnings occur: