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 年前

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

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

回答问题的准则