Created
July 21, 2021 02:29
-
-
Save lynnssi/051e276cee5c17fc331d4bc20a4b2ed8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cv = SlidingWindowSplitter(window_length=5, fh=[1, 2, 3], initial_window=10, step_length=3) | |
n_splits = cv.get_n_splits(y) | |
print(f"Number of Folds = {n_splits}") | |
>> Number of Folds = 6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment