Hyperparameter optimization for deep belief networks