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?

demandé il y a 2 ans306 vues
2 réponses
0
répondu il y a 2 ans
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
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions