23void TMVA_SOFIE_RSofieReader(){
31 std::vector<float>
input = {0.1,0.2,0.3,0.4,0.5,0.6,0.7};
37 std::cout <<
"Event prediction = " <<
output[0] << std::endl;
41 std::string inputFileName =
"Higgs_data.root";
42 std::string inputFile =
"http://root.cern.ch/files/" + inputFileName;
47 auto h1 = df1.Define(
"DNN_Values", Compute<7, float>(model),
48 {
"m_jj",
"m_jjj",
"m_lv",
"m_jlv",
"m_bb",
"m_wbb",
"m_wwbb"})
49 .Define(
"y",
"DNN_Values[0]")
50 .Histo1D({
"h_sig",
"", 100, 0, 1},
"y");
53 auto h2 = df2.Define(
"DNN_Values", Compute<7, float>(model),
54 {
"m_jj",
"m_jjj",
"m_lv",
"m_jlv",
"m_bb",
"m_wbb",
"m_wwbb"})
55 .Define(
"y",
"DNN_Values[0]")
56 .Histo1D({
"h_bkg",
"", 100, 0, 1},
"y");
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void input
R__EXTERN TStyle * gStyle
ROOT's RDataFrame offers a modern, high-level interface for analysis of data stored in TTree ,...
virtual void SetLineColor(Color_t lcolor)
Set the line color.
TMVA::RSofieReader class for reading external Machine Learning models in ONNX files,...
virtual TObject * DrawClone(Option_t *option="") const
Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1).
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...