# Optimized DNN parameter

**URL:** <https://root-forum.cern.ch/t/optimized-dnn-parameter/28643>\
**Category:** TMVA\
**Created:** [April 11, 2018, 12:48pm UTC](https://root-forum.cern.ch/t/optimized-dnn-parameter/28643 "2018-04-11T12:48:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![calbet](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/4af34b/32.png) [@calbet](https://root-forum.cern.ch/u/calbet)\
**Post date:** [April 11, 2018, 12:48pm UTC](https://root-forum.cern.ch/t/optimized-dnn-parameter/28643/1 "2018-04-11T12:48:04Z")

</div>

Dear experts,  
I wonder if there is a recommendation to optimise the DNN parameters. Indeed I started from the tutorial parameters and I vary separatly other parameters. But they may be correlated (maybe I should vary 2 at the same time to see improvement…), so I wonder if there is a recommended way to do that?  
Regards

---

<div class="post-metadata">

**Author:** ![kialbert](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/kialbert/32/16537_2.png) [@kialbert](https://root-forum.cern.ch/u/kialbert)\
**Post date:** [April 11, 2018, 1:00pm UTC](https://root-forum.cern.ch/t/optimized-dnn-parameter/28643/2 "2018-04-11T13:00:09Z")

</div>

Hi,

I don’t have any concrete tips for choosing the hyperparamters, but having a look at is currently considered best practises can be informative. E.g. under the subsection “Choosing Hyperparamters” in [this post](https://www.linkedin.com/pulse/deep-learning-goodfellow-et-al-2016-review-what-i-learned-cundy/).

The article is a summary of the 2016 book “Deep Learning” and states that the learning rate is important to choose correctly initially. Other parameters are then best found doing a grid search or a random search. Doing an automatic search in TMVA for the DNN is currently not possible, but a limited manual search is feasible.

Cheers,  
Kim
