Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. from keras.activations import relu, elu, linear, sigmoid
  2.  
  3. params = {'lr': [0.001, 0.1],
  4. 'first_neuron':[5,9],
  5. 'hidden_layers':[1,5,10],
  6. 'batch_size': [30,40,50],
  7. 'epochs': [40],
  8. 'dropout': [0,0.2],
  9. 'kernel_initializer': ['normal'],
  10. 'optimizer': [Adam],
  11. #'loss':[mean_absolute_error],
  12. 'activation':[],
  13. 'last_activation':['linear']
  14.  
  15. }
  16.  
  17. regression__model = regression_model(X_air_train, y_air_train, X_air_valid, y_air_valid, params)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement