# Problems with Significance plot using PyKeras

**URL:** <https://root-forum.cern.ch/t/problems-with-significance-plot-using-pykeras/39879>\
**Category:** TMVA\
**Created:** [June 11, 2020, 12:34pm UTC](https://root-forum.cern.ch/t/problems-with-significance-plot-using-pykeras/39879 "2020-06-11T12:34:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tommaso\_Diotalevi](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/tommaso_diotalevi/32/35658_2.png) [@Tommaso\_Diotalevi](https://root-forum.cern.ch/u/Tommaso_Diotalevi)\
**Post date:** [June 11, 2020, 12:34pm UTC](https://root-forum.cern.ch/t/problems-with-significance-plot-using-pykeras/39879/1 "2020-06-11T12:34:28Z")

</div>

Dear experts,

I am currently experiencing some issues using the PyKeras model. In particular, at the end of training, I can’t visualise the curve that shows the significance values in function of the cut value.  
No matter how I train the model, the curve is not displayed, despite I have a discrete value of max significance at a specific cut (after some math that appears to be more or less correct).

 ![Schermata 2020-05-28 alle 19.58.03](https://root-forum.cern.ch/uploads/default/original/3X/7/9/79531583d8aacf47d5b5e12c22de1fd2bd652739.jpeg)

How can I solve this?  
Thank you,  
Tommaso

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [June 11, 2020, 12:39pm UTC](https://root-forum.cern.ch/t/problems-with-significance-plot-using-pykeras/39879/2 "2020-06-11T12:39:39Z")

</div>

@moneta can most probably help you on this

---

<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:** [June 11, 2020, 5:07pm UTC](https://root-forum.cern.ch/t/problems-with-significance-plot-using-pykeras/39879/3 "2020-06-11T17:07:12Z")

</div>

HI Tommaso,

Van you please post a link to your TMVA output file so I can understand the problem  
If I will not be able to solve the issue I might need later your macro for the classification and the input file

Lorenzo

---

<div class="post-metadata">

**Author:** ![Tommaso\_Diotalevi](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/tommaso_diotalevi/32/35658_2.png) [@Tommaso\_Diotalevi](https://root-forum.cern.ch/u/Tommaso_Diotalevi)\
**Post date:** [June 11, 2020, 6:19pm UTC](https://root-forum.cern.ch/t/problems-with-significance-plot-using-pykeras/39879/4 "2020-06-11T18:19:26Z")

</div>

Hi Lorenzo,

yes of course. Here you can download the Output ROOT file: [https://cernbox.cern.ch/index.php/s/JSbAyKs9lx1IUVq](https://cernbox.cern.ch/index.php/s/JSbAyKs9lx1IUVq)

Tommaso
