Skip to content

Conversation

eromoe
Copy link

@eromoe eromoe commented Apr 4, 2023

I didn't add correct comment, since don't know if you could appove this.
I came up this for how different lengths of train data affect on same testing set, so that I can choose a good realtime train length.

import numpy as np

a = pd.DataFrame(np.arange(0, 30).reshape(-1, 3), columns=[1,2, 3])
a.vbt.split(ShrinkingSplitter(), n=5, min_len=6, set_lens=(3,), plot=True, left_to_right=False, trace_names=['in-sample', 'out-sample']).show()

image

Copy link

@catbrower catbrower left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants