Cell 16 inside of the the notebook for Lab 2 (processing_xgboost.ipynb) was dropping the first column of the test_x dataframe. However, the first column is a feature which the model is expecting, not the label which is in the train and validation dataframe. This change removes the column drop which was causing the model predictions be in inaccurate.
Issue #, if available:
Description of changes:
Cell 16 inside of the the notebook for Lab 2 (
processing_xgboost.ipynb
) was dropping the first column of thetest_x
dataframe. However, the first column is a feature which the model is expecting, not the label which is in thetrain
andvalidation
dataframe. This change removes the column drop which was causing the model predictions be in inaccurate.@harryxpan first reported this bug.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.