Skip to content

These python utilities simplify the process of executing batch experiments in Watson Studio.

Notifications You must be signed in to change notification settings

biosopher/unofficial-watson-studio-python-utils

Repository files navigation

Simplified batch experimentation with Watson Studio

Executing batch experiments in Watson Studio was designed to be flexibile and to fit into a range of pre-existing workflows. However this flexibility can be daunting for new users. Now, executing experiments is as simple as:

experiment = Experiment("My experiment", "Test hyperparameter range",
                        "tensorflow", "1.5", "python","3.5",
                        studio_utils, project_utils)
                        
experiment.add_training_run("cnn tests", hyperparams, "python3 experiment.py", "experiment.zip", "v100x2")
experiment.execute()

This repository's utility classes (below) hide the underlying complexity while providing the source code so you can dig deeper as you advance.

To help you get started, sample experiments are available for standard use cases. These samples are designed for quick execution from the command prompt but can be easily inserted into a notebook if desired.

Quick Start

The next section provides detailed setup instructions to complete these steps. (a) clone this repository then (b) install the Watson Machine Learning (WML) python client. (c) copy credentials to wml_credentials.json and cos_credentials.json then (d) execute the sample batch experiments.

Detailed Setup Instructions

If you are new to Watson Studio or simply want more details on confguring the credentials files, then follow these steps:

  1. Clone this repository using the "Clone or Download" button above
  2. Setup your IBM Cloud developer utilities
  3. Create Watson Machine Learning (WML) services + credentials
  4. Install WML's tooling
  5. Create Cloud Object Storage (COS) service + credentials
  6. Install Python client for COS
  7. Create a project in Watson Studio and save the project id
  8. Execute example batch experiments

Related and Very Useful Topics

About

These python utilities simplify the process of executing batch experiments in Watson Studio.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages