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?

asked 2 years ago300 views
2 Answers
0
answered 2 years ago
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
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions