Set Up for Example Code

Install & Configure

If you haven't already, follow the installation and configuration instructions in our Get Started page.
For the following example, you'll also need Tensorflow
$ pip install tensorflow tensorflow_datasets

Set Your Project

Runs are created within projects. The project allows you to sort and filter through your Runs and view useful charts to gain insight into everything you've tried.
We recommend setting the project name as an environment variable. In this example, we're naming our project run-examples. If the valid Project ID doesn't already exist, a project will be created.
import tensorflow as tf
import tensorflow_datasets as tfds
import sigopt
%load_ext sigopt
import os
os.environ["SIGOPT_PROJECT"] = "run-examples"