Random forest and small LSTM experiments on synthetic data, checking the time split, baselines and limitations.
Open AccessSuggested study time including exercises: 8 hrs
نظرة عامة
This course teaches research methods with fixed synthetic data, offline code and checkable cases. It includes explanations, calculations, labs and self-assessment, never connects to live prices or trading accounts, and never presents simulated results as real performance. Labs that need external dependencies or a terminal should record their run status separately.
Hands-on task for each module
✓Module 1: Run `ml_lab.py`, verify the endpoint labels, time splitting, and gap; output the number of training and testing samples and the class proportions, and explain why random shuffling was not used for splitting.
✓Module 2: Calculate the indicators manually, run a random forest example, and compare it with a majority class baseline. Record the hyperparameters, random seed, and boundary of the samples, without tuning the parameters using a test set.
✓Module 3: Check tensor shapes and training/testing boundaries in `lstm_lab.py`, record the actual installation and running status; compare with most baseline models. If PyTorch is not installed, do not mark the training as successful.
Prerequisites
•Basic Python syntax; set up a separate environment following the companion README
•Uses synthetic data — no API key, real account or funds needed