Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hyperparameter search #60

Open
quzhouxiachuan opened this issue Feb 19, 2020 · 2 comments
Open

hyperparameter search #60

quzhouxiachuan opened this issue Feb 19, 2020 · 2 comments

Comments

@quzhouxiachuan
Copy link

Hi Jared,
Thanks for providing deepsurv. I have a question about hyperparameter serach. I am not sure what is the benefit of using docker oputunity vs simply giving a list of parameters options in the parameter variable as shown in DeepSurv_example.ipynb:

hyperparams = {
'L2_reg': 10.0,
'batch_norm': True,
'dropout': 0.4,
'hidden_layers_sizes': [25, 25],
'learning_rate': 1e-05,
'lr_decay': 0.001,
'momentum': 0.9,
'n_in': train_data['x'].shape[1],
'standardize': True
}

For example, you can specify learning rate as [0.1,0.001,0.0001] here.

In addition, is it ok to use multiple cores for parallel running using your script?

Much appreciated!

@quzhouxiachuan
Copy link
Author

A follow up question on this is, is it possible to use gpu without docker?

@saidileep-knv
Copy link

You can use GPU without docker. Usually, for any matrix or vector computations, NumPy uses base C-API if none of the high-level libraries are integrated with it. You can configure CUDA drivers to increase computational speed (if your GPU is compatible with CUDA) or manually build the OpenBLAS or any other libraries and link them to Theano in the environment variables of the system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants