The strict rule that must be followed about the order of data when making training, validation, and test sets for predicting future stock prices is that the data must be strictly chronological. This means that all data points within the training set must occur historically before any data points in the validation set, and all data points within the validation set must occur historically before any data points in the test set. For instance, if you have stock price data from 2000 to 2023, your training set might use data from 2000 to 2021, your validation set from 2022, and your test set from 2023. You cannot mix data from 2023 into the training or validation sets, nor can 2022 data appear after 2023 data in these partitions. A training set is the portio....
Log in to view the answer