# TMVA kDL documentation

**URL:** <https://root-forum.cern.ch/t/tmva-kdl-documentation/38952>\
**Category:** TMVA\
**Created:** [April 17, 2020, 4:15pm UTC](https://root-forum.cern.ch/t/tmva-kdl-documentation/38952 "2020-04-17T16:15:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![NikolaMakovec](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/n/76d3ee/32.png) [@NikolaMakovec](https://root-forum.cern.ch/u/NikolaMakovec)\
**Post date:** [April 17, 2020, 4:15pm UTC](https://root-forum.cern.ch/t/tmva-kdl-documentation/38952/1 "2020-04-17T16:15:17Z")

</div>

Dear experts,

Where can I find documentation about ROOT.TMVA.Types.kDL which seems to replace ROOT.TMVA.Types.kDNN? In particular, I am eager to know the motivation of this change and what are the novelties?

Cheers,

Nikola

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [April 17, 2020, 4:20pm UTC](https://root-forum.cern.ch/t/tmva-kdl-documentation/38952/2 "2020-04-17T16:20:13Z")

</div>

I guess @moneta should know.

---

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [April 20, 2020, 7:44am UTC](https://root-forum.cern.ch/t/tmva-kdl-documentation/38952/3 "2020-04-20T07:44:32Z")

</div>

Hi,

We have replaced the kDNN with kDL because the previous one could not be extended to support different type of layers such as constitutional or recurrent.  
In case of dense layer the way of using is basically the same as the previous method, and one can refer to the previous documentation. We are in the process to update the TMVA Users Guide to documente the new methods. At the moment you can look at some tutorials and the most useful are these notebooks in this TMVA tutorial:

> **[lmoneta/tmva-tutorial](https://github.com/lmoneta/tmva-tutorial/tree/master/notebooks)**
>
> Collection of Notebook for Tutorials on TMVA. Contribute to lmoneta/tmva-tutorial development by creating an account on GitHub.

  
In particular this one :  

> <https://github.com/lmoneta/tmva-tutorial/blob/master/notebooks/TMVA_Higgs_Classification.ipynb>

  
and this other one for CNN networks:  

> <https://github.com/lmoneta/tmva-tutorial/blob/master/notebooks/TMVA_CNN_Classification.ipynb>

In the next days these tutorials will be included in the ROOT tutorials.  
If you have some specific questions, please let me know

Best regards

Lorenzo

---

<div class="post-metadata">

**Author:** ![NikolaMakovec](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/n/76d3ee/32.png) [@NikolaMakovec](https://root-forum.cern.ch/u/NikolaMakovec)\
**Post date:** [April 20, 2020, 8:12am UTC](https://root-forum.cern.ch/t/tmva-kdl-documentation/38952/4 "2020-04-20T08:12:47Z")

</div>

Hi,  
Many thanks for you replies.  
When do you expect TMVA Users Guide be updated?  
Is there a tutorial for RNN?  
Cheers,  
Nikola

---

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [April 20, 2020, 9:20am UTC](https://root-forum.cern.ch/t/tmva-kdl-documentation/38952/5 "2020-04-20T09:20:48Z")

</div>

Hi,

I am currently working on RNN tutorial, that now is available for GPU and CPU for simpel RNN., LSTM and GRU cells. It should be in the ROOT repository in the next days. I’ll send you the link as soon is available

For the Users Guide I am expecting to update it also soon, hopefully for the next ROOT, 6.22 release, in about 1 month time

Cheers

Lorenzo

---

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [May 27, 2020, 12:18pm UTC](https://root-forum.cern.ch/t/tmva-kdl-documentation/38952/6 "2020-05-27T12:18:19Z")

</div>

Hi,  
The updated TMVA Users Guide is available at

> **[TMVAUsersGuide.pdf](https://github.com/root-project/root/blob/master/documentation/tmva/UsersGuide/TMVAUsersGuide.pdf)**

and see Section 8.11 for the Deep Learning module.  
Tutorials for CNN and RNN are also available in the ROOT master and 6.22 branches.  
For CNN:  
[https://root.cern.ch/doc/master/TMVA\_\_CNN\_\_Classification\_8C.html](https://root.cern.ch/doc/master/TMVA __CNN__ Classification_8C.html)

For RNN:  
[https://root.cern.ch/doc/master/TMVA\_\_RNN\_\_Classification\_8C.html](https://root.cern.ch/doc/master/TMVA __RNN__ Classification_8C.html)

Lorenzo

---

<div class="post-metadata">

**Author:** ![NikolaMakovec](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/n/76d3ee/32.png) [@NikolaMakovec](https://root-forum.cern.ch/u/NikolaMakovec)\
**Post date:** [May 27, 2020, 2:19pm UTC](https://root-forum.cern.ch/t/tmva-kdl-documentation/38952/7 "2020-05-27T14:19:21Z")

</div>

Many thanks Lorenzo!
