Reproduction of https://github.com/kerepesi/aging_ml
- Python 3.5.3
- Pandas 0.20.3
- scikit-learn 0.19.0
- xgboost 1.1.1
(unless otherwise specified)
Changes to the original code at Aging_ML
Line 35, 52
+ print(clf.feature_importances_)Line 45
+ pyplot.bar(range(len(clf.feature_importances_)),clf.feature_importances_)
+ pyplot.show()Line 8, 12 @danyatingshen
- model.booster()
+ model.get_booster()