我使用Amazon Sagemaker构建了一个XGBoost模型,但是我找不到任何帮助我解释模型并验证它是否学习了正确依赖关系的内容。
通常,我们可以通过python API中的get_fscore()函数(https://xgboost.readthedocs.io/en/latest/python/python_api.html)查看XGBoost的特征重要性,但在sagemaker api(https://sagemaker.readthedocs.io/en/stable/estimators.html)中没有这样的东西。
我知道我可以构建自己的模型,然后使用sagemaker部署它,但我很好奇是否有人遇到过这个问题以及他们如何克服它。
谢谢。
通常,我们可以通过python API中的get_fscore()函数(https://xgboost.readthedocs.io/en/latest/python/python_api.html)查看XGBoost的特征重要性,但在sagemaker api(https://sagemaker.readthedocs.io/en/stable/estimators.html)中没有这样的东西。
我知道我可以构建自己的模型,然后使用sagemaker部署它,但我很好奇是否有人遇到过这个问题以及他们如何克服它。
谢谢。