Machine Learning, Xgboost, Financial Data, Model Selection.
forward. This short piece of code will separate the features from the target variables. Our next step is to use train-test-split to give us subsets of the data to train and test our models. We will use an 80/20 split (20% is testing data) and set a random_state of 42, which seems to be somewhat of