Is OrdinalEncoder on Scikit Learn available on AWS SageMaker SciKit Learn?

0

We'd like to use SKLearn.Preprocessing.OrdinalEncoder. However, it seems that the AWS SKLearn package version SageMaker is one that older than the SKLearn release 1.0.2 that have this encoding available. Any recommendations how to work around it?

質問済み 2年前306ビュー
2回答
0
回答済み 2年前
0

Hello

Thank you for reaching out to us.

I understand that you would like to use the SKLearn.Preprocessing.OrdinalEncode with the SKLearn release 1.0.2 that have this encoding available. Please correct me If I am missing anything.

The Scikit-learn versions supported by the Amazon SageMaker Scikit-learn container: 0.20.0, 0.23-1.[1] However you can bring your own docker container with the latest version and the required packages with the Amazon SageMaker.[2]

For more details please refer to our public examples[4]

Reference:

[1] https://docs.aws.amazon.com/sagemaker/latest/dg/sklearn.html

[2] https://sagemaker-examples.readthedocs.io/en/latest/training/bring_your_own_container.html

[3] https://github.com/aws/sagemaker-scikit-learn-extension/blob/2412131311433addbae9f6ad5aa393a8bdbbe61f/src/sagemaker_sklearn_extension/preprocessing/encoders.py#L449

[4] https://github.com/aws/amazon-sagemaker-examples/tree/main/advanced_functionality/scikit_bring_your_own

AWS
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ