r/learnmachinelearning • • Nov 03 '26

I build xgboost for regression from scratch

Thumbnail
gallery
379 Upvotes

Finally, after 5 days, XGBoost for regression is complete. Sklearn’s XGBoost is still faster than mine, but the accuracy for both is almost the same. It’s Day 54 of Building Machine Learning Algorithms from Scratch.