Skip to content

Update notebook for SageMaker SDK v2 compatibility#14

Open
frmuller41182 wants to merge 1 commit intoaws-solutions-library-samples:masterfrom
frmuller41182:master
Open

Update notebook for SageMaker SDK v2 compatibility#14
frmuller41182 wants to merge 1 commit intoaws-solutions-library-samples:masterfrom
frmuller41182:master

Conversation

@frmuller41182
Copy link
Copy Markdown

  • Remove deprecated manual content_type/accept on RCF predictor; CSVSerializer and JSONDeserializer set these automatically
  • Add %pip install seaborn to ensure dependency is available
  • Remove redundant deserializer=None from XGBoost deploy call
  • Remove .decode('utf-8') on predict() output; SDK v2 returns str
  • Add logging suppression for botocore/boto3/s3transfer/urllib3
  • Use StringDeserializer for SMOTE predictor response handling instead of commented-out CSVDeserializer

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

- Remove deprecated manual content_type/accept on RCF predictor;
  CSVSerializer and JSONDeserializer set these automatically
- Add %pip install seaborn to ensure dependency is available
- Remove redundant deserializer=None from XGBoost deploy call
- Remove .decode('utf-8') on predict() output; SDK v2 returns str
- Add logging suppression for botocore/boto3/s3transfer/urllib3
- Use StringDeserializer for SMOTE predictor response handling
  instead of commented-out CSVDeserializer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant