Using Skafos with AWS Sagemaker

Miriam Friedel
May 31 · 4 min read

Training on Sagemaker

How I did it

import skafos
from skafos import models
import os

# Set your API Token first for repeated use
os.environ["SKAFOS_API_TOKEN"] = "<YOUR-SKAFOS-API-TOKEN>"

# You can retrieve this info with skafos.summary()
org_name = "<YOUR-SKAFOS-ORG-NAME>"    
app_name = "<YOUR-SKAFOS-APP-NAME>"    
model_name = "<YOUR-MODEL-NAME>"       

# Upload model version to Skafos
model_upload_result = models.upload_version(
    files="TextClassifier.mlmodel",
    org_name=org_name,
    app_name=app_name,
    model_name=model_name,
    description="Upload from AWS using SDK"
)

Skafos

Skafos makes it simple for you to build ML-powered apps, whether you are prototyping or delivering to millions of devices.

Miriam Friedel

Written by

Head of Data Science at Skafos.

Skafos

Skafos

Skafos makes it simple for you to build ML-powered apps, whether you are prototyping or delivering to millions of devices.