Input and Output interface for the CatBoost algorithm

0

to set up CatBoost Classifier as a built-in algorithm, aws in this [https://docs.aws.amazon.com/sagemaker/latest/dg/catboost.html] suggested this notebook [https://github.com/aws/amazon-sagemaker-examples/blob/main/introduction_to_amazon_algorithms/lightgbm_catboost_tabular/Amazon_Tabular_Classification_LightGBM_CatBoost.ipynb] , my question is should I prepare inference file on top of the train.csv? if yes what is that and how it should be prepared?

2 回答
1
已接受的回答

According to the documentation,[https://docs.aws.amazon.com/sagemaker/latest/dg/catboost.html] 'The CatBoost built-in algorithm runs in script mode, but the training script is provided for you and there is no need to replace it. If you have extensive experience using script mode to create a SageMaker training job, then you can incorporate your own CatBoost training scripts.' Is the same with the Inference script, all provided artifacts.

AWS
专家
已回答 2 年前
1

For the built-in algorithms, you can simply specify estimator.deploy(), or tuner.deploy() and the trained model will be deployed to an endpoint for inference.

You can also bring your own code/model, in which case, you'll need an inference.py file. See Use your own Inference Code for details.

AWS
Durga_S
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则