Neural networks and hyperparameter optimization