Course Name: Advanced Momentum Trading: Machine Learning Strategies, Section No: 12, Unit No: 12, Unit type: Notebook
In this y_pred file is not created.
So when running Metrics to Evaluate Classifier File not Found error is coming.
Hi Shilpi,
Thanks for pointing this out. We have updated the ZIP file. It should work now.
But this y_pred should be included in code also. The Jupyter notebook for XGBoost Model also needs to be updated to include y_pred.How this is generated?
We have updated the XGBoost Model notebook. You can save the predicted signals dataframe using the lines of code below. You need to convert the cell from the Raw NBConvert format to Code format before running the cell.