Skip to content

Instantly share code, notes, and snippets.

View Warvito's full-sized avatar

Walter Hugo Lopez Pinaya Warvito

View GitHub Profile
# -*- coding: utf-8 -*-
"""
This module creates an optimization of hyper-parameters of a DBN using hyperopt library
Check out the library here: https://github.com/hyperopt/hyperopt).
example run:
python hyperopt_exampleMNIST.py --trainSize=10000 --path=...
REFERENCES
[1] - Bergstra, James, Dan Yamins, and David D. Cox. "Hyperopt: A python library for optimizing the hyperparameters of machine learning algorithms." (2013).