Add unit tests for walk_forward_splits
Created tests/test_model_training.py and added unit tests for the walk_forward_splits function in models/model_training.py. Tests cover basic chronological splitting logic, varying number of splits, dataset sizes that don't divide perfectly, and end bounds capping. Verified that the tests accurately catch regressions. Co-authored-by: maghdam <63883156+maghdam@users.noreply.github.com>
This commit is contained in:
co-authored by
maghdam
parent
29fcbf0f9d
commit
f9be43b827
Reference in New Issue
Block a user