Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update calculations.py for sklearn <1.0.0
Where calculations.py called functions from sklearn like "cross_val_score" and "mean_absolute_error", pandas data frames were being given as inputs to those functions. I am not sure what Sklearn's new update did not like about it, but changing those pandas data frames to numpy arrays with .to_numpy() fixed the problem and gave the correct values.
- Loading branch information