AI

AWS Sagemaker

What is AWS Sagemaker?

Amazon SageMaker is a fully managed service by Amazon Web Services (AWS) that provides tools to build, train, and deploy machine learning (ML) models at scale.

Check out pricing list here


Domain


Project Profile

After creating your unified domain, enter the domain and create a new project profile.


Dataset

import pandas as pd

s3_path = 's3:://<bucket>/folder/file.csv'; # Copy a CSV file URI from S3 bucket

df = pd.read_csv(s3_path, sep='\t', names=['ID', 'TITLE', 'URL', 'PUBLISHER', 'CATEOGYR'])

df.head() # Print CSV header

df.describe() # Print

df.info()

df_work = df.copy()

df_work = df_work[['TITLE', 'CATEGORY']]

Previous
PyTorch