Skip to content
Snippets Groups Projects
Commit 0272631b authored by Kim Albertsson's avatar Kim Albertsson Committed by Danilo Piparo
Browse files

[TMVA] Add keras tutorials to documentation

They were missing a crucial comment header, making the documentation
generation system not pick them up.
parent dd050a7e
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python
## \file
## \ingroup tutorial_tmva
## \notebook -nodraw
## This tutorial shows how to apply a trained model to new data.
##
## \macro_code
##
## \date 2017
## \author TMVA Team
from ROOT import TMVA, TFile, TString
from array import array
......
#!/usr/bin/env python
## \file
## \ingroup tutorial_tmva
## \notebook -nodraw
## This tutorial shows how to apply a trained model to new data (regression).
##
## \macro_code
##
## \date 2017
## \author TMVA Team
from ROOT import TMVA, TFile, TString
from array import array
......
#!/usr/bin/env python
## \file
## \ingroup tutorial_tmva
## \notebook -nodraw
## This tutorial shows how to do classification in TMVA with neural networks
## trained with keras.
##
## \macro_code
##
## \date 2017
## \author TMVA Team
from ROOT import TMVA, TFile, TTree, TCut
from subprocess import call
......
#!/usr/bin/env python
## \file
## \ingroup tutorial_tmva
## \notebook -nodraw
## This tutorial shows how to define and generate a keras model for use with
## TMVA.
##
## \macro_code
##
## \date 2017
## \author TMVA Team
from keras.models import Sequential
from keras.layers.core import Dense, Activation
......
#!/usr/bin/env python
## \file
## \ingroup tutorial_tmva
## \notebook -nodraw
## This tutorial shows how to do multiclass classification in TMVA with neural
## networks trained with keras.
##
## \macro_code
##
## \date 2017
## \author TMVA Team
from ROOT import TMVA, TFile, TTree, TCut, gROOT
from os.path import isfile
......
#!/usr/bin/env python
## \file
## \ingroup tutorial_tmva
## \notebook -nodraw
## This tutorial shows how to do regression in TMVA with neural networks
## trained with keras.
##
## \macro_code
##
## \date 2017
## \author TMVA Team
from ROOT import TMVA, TFile, TTree, TCut
from subprocess import call
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment