# 目的:学习xgboost的plot_importance函数 # 官方API文档:http://xgboost.readthedocs.io/en/latest/python/python_api.html#module-xgboost.training ### """ ### load module importmatplotlib.pyplot as plt fromsklearnimportdatasets fromsklearn.model_selectionimporttrain_test_split fromsklearn.metricsimporta...