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?

feita há 2 anos306 visualizações
2 Respostas
0
respondido há 2 anos
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
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas