Open source library for Experiment Tracking in SageMaker Jobs and Notebooks
Project description
SageMaker Experiments Python SDK
Experiment tracking in SageMaker Training Jobs, Processing Jobs, and Notebooks.
Overview
SageMaker Experiments is an AWS service for tracking machine learning Experiments. The SageMaker Experiments Python SDK is a high-level interface to this service that helps you track Experiment information using Python.
Experiment tracking powers the machine learning integrated development environment Amazon SageMaker Studio.
For detailed API reference please go to: Read the Docs
Concepts
Experiment: A collection of related Trials. Add Trials to an Experiment that you wish to compare together.
Trial: A description of a multi-step machine learning workflow. Each step in the workflow is described by a Trial Component. There is no relationship between Trial Components such as ordering.
Trial Component: A description of a single step in a machine learning workflow. For example data cleaning, feature extraction, model training, model evaluation, etc…
Tracker: A Python context-manager for logging information about a single TrialComponent.
For more information see Amazon SageMaker Experiments - Organize, Track, and Compare Your Machine Learning Trainings
Using the SDK
You can use this SDK to:
Manage Experiments, Trials, and Trial Components within Python scripts, programs, and notebooks.
Add tracking information to a SageMaker notebook, allowing you to model your notebook in SageMaker Experiments as a multi-step ML workflow.
Record experiment information from inside your running SageMaker Training and Processing Jobs.
Installation
pip install sagemaker-experiments
Examples
See: sagemaker-experiments in AWS Labs Amazon SageMaker Examples.
License
This library is licensed under the Apache 2.0 License.
Running Tests
Unit Tests
tox tests/unit
Integration Tests
To run the integration tests, the following prerequisites must be met:
AWS account credentials are available in the environment for the boto3 client to use.
The AWS account has an IAM role with SageMaker permissions.
tox tests/integ
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for sagemaker_experiments-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d04d16d84323b33a503cd99298f13ed49e0aeec2ef10379a76f17a6469bf4724 |
|
MD5 | 0d711eae7d2614960bfd7306e86ab502 |
|
BLAKE2b-256 | 9839683f3251a6299c16320f3c454272fe2f2d17f9aee7ac9e14790026a829a1 |