Skip to content

Instantly share code, notes, and snippets.

@arjay55
Created August 24, 2019 08:13
Show Gist options
  • Save arjay55/81dd67dd9199b784e657db1c15abd43e to your computer and use it in GitHub Desktop.
Save arjay55/81dd67dd9199b784e657db1c15abd43e to your computer and use it in GitHub Desktop.
Hyperparams
space = [Integer(2, 21, name='input_layer'), #number of neurons in input layer
Integer(1,3, name='hidden_1'), #number of neurons in the 1st hidden layer
Real(0.0, 0.3, name='navpu_infl'), #adjustment of class weighting in the mutual_unit(navpu) and the inflation.
Real(0.0, 0.8, name='uni_reg'), # regularization factor in the 1st hidden layer
Real(0.0, 0.5, name='dropout_rate'), #dropout fraction on the weights outside the 1st hidden layer
Real(0.0, 0.8, name='hidden_reg'), #regularization at the final layer
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment