[英]What is the difference of xgboost and sagemaker.xgboost
問題真的很清楚。 現在我正在學習 AWS 世界,這個問題讓我很頭疼。 import xgboost
和import sagemaker.xgboost
什么區別。
在 SageMaker 上,我可以使用普通的 XGBoost 庫,而且我知道我可以使用sagemaker.xgboost
選擇不同的 EC2 類型。 但除此之外,還有什么區別呢? 有什么大的區別嗎?
使用模型訓練作為示例任務: sagemaker.xgboost
提供在安裝了 XGBoost 庫的環境中創建 Amazon SageMaker 訓練作業(和相關 AWS 資源)的能力。 因此import xgboost
為您提供了用於編寫實際訓練模型的訓練腳本的模塊,而import sagemaker.xgboost
為您提供了在 SageMaker 上執行訓練任務的模塊。
這同樣適用於其他任務(例如預測)。
SageMaker XGBoost 文檔: https ://sagemaker.readthedocs.io/en/stable/frameworks/xgboost/using_xgboost.html#use-the-open-source-xgboost-algorithm
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.