Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
UCR_TS_Archive_2015/Adiac
.gitignore
README.md
__init__.py
config.py
main.py
train.py

README.md

image

Using SigOpt to tune Time Series Classifiers with Keras and Tensorflow

Summary

The data that comes with this example is sequence data extracted from diatoms. We encourage interested readers to replicate this blog using other datasets see how optimal hyperparameter settings are data dependent. There are over 80 different sequential datasets in the UCR Time Series Classification Archive that can be used to replicate this example. Learn more at the associated blog post: Deep Learning Hyperparameter Optimization with Competing Objectives.

In this example, SigOpt carves out an effecient Pareto frontier, simultaneously looking for hyperparameter configurations which yield fast inference times and high classifier accuracy.

Limited Access: For those interested in replicating this blog post, let us know so that we can provide a SigOpt account for you beyond your free trial!

EC2 Setup

This example is made for the US East (N. Virginia) region. Follow the instructions from here to get your AWS EC2 GPU-enabled instance up and running with the following specifications:

  • OS: Ubuntu 16.04
  • GPU Driver: CUDA 8.0, cuDNN 5.1
  • GPU: NVIDIA K80 GPU
  • Server: Amazon EC2’s P2 instances
  • DNN Library: Keras 2.0.5 on Tensorflow 1.2.0

Instructions to Replicate Blog Post

Post an issue or email us if you have any questions.

  1. Sign up for a SigOpt account.

  2. Copy this folder over to your EC2 instance.

  • scp -r multimetric-timeseries/ ubuntu@<hostname>:/home/ubuntu
  1. From your EC2 instance, install SigOpt, Keras, Tensorflow and Pandas.
  • sudo pip install sigopt tensorflow-gpu keras pandas
  1. Create a file named sigopt.secret and the following line, entering your API key (see the API tokens page):
  • {"SIGOPT_API_TOKEN":"<your-api-key>"}
  1. Navigate to the folder:
  • cd multimetric-timeseries
  1. Run the example!
  • python main.py (This can take a while, you may want to run it with nohup or tmux.)
  1. Check out your experiment dashboard to view your experiment progress!