Documentation

Welcome to the developer documentation for SigOpt. If you have a question you can’t answer, feel free to contact us!
Welcome to the new SigOpt docs! If you're looking for the classic SigOpt documentation then you can find that here. Otherwise, happy optimizing!

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"