ATLAS Offline Software
NodeImpl.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "MVAUtils/NodeImpl.h"
6 #include <iostream>
7 
8 using namespace MVAUtils;
9 
10 
12 {
13  std::cout << " Variable: " << int(m_var) << ", Cut: " << m_cut
14  << " (index = " << index << ")" << std::endl;
15 }
16 
17 
19 {
20  std::cout << " Variable: " << int(m_var) << ", Cut: " << m_cut
21  << " (index = " << index << ")" << std::endl;
22 }
23 
24 
26 {
27  std::cout << " Variable: " << int(m_var) << ", Cut: " << m_cut << ", DefaultLeft: " << (int)m_default_left
28  << " (index = " << index << ")" << std::endl;
29 }
30 
32 {
33  std::cout << " Variable: " << int(m_var) << ", Cut: " << m_cut << ", DefaultLeft: " << (int)m_default_left
34  << " (index = " << index << ")" << std::endl;
35 }
MVAUtils
Definition: InDetTrkInJetType.h:48
MVAUtils::NodeXGBoost::m_var
var_t m_var
Definition: NodeImpl.h:194
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
MVAUtils::NodeTMVA::Print
void Print(index_t index) const
For debugging only: print the node values.
Definition: NodeImpl.cxx:11
index
Definition: index.py:1
MVAUtils::NodeLGBMSimple::m_cut
float m_cut
cut value for internal nodes or response for leaf nodes
Definition: NodeImpl.h:115
MVAUtils::NodeTMVA::m_cut
float m_cut
cut value for internal nodes or response for leaf nodes
Definition: NodeImpl.h:72
MVAUtils::NodeLGBM::m_default_left
int8_t m_default_left
Definition: NodeImpl.h:153
MVAUtils::NodeXGBoost::Print
void Print(index_t index) const
Definition: NodeImpl.cxx:31
MVAUtils::NodeLGBMSimple::Print
void Print(index_t index) const
Definition: NodeImpl.cxx:18
MVAUtils::NodeLGBM::m_cut
float m_cut
cut value for internal nodes or response for leaf nodes
Definition: NodeImpl.h:150
MVAUtils::NodeXGBoost::m_cut
float m_cut
Definition: NodeImpl.h:192
MVAUtils::index_t
int32_t index_t
The index type of the node in the vector.
Definition: MVAUtilsDefs.h:12
MVAUtils::NodeTMVA::m_var
var_t m_var
index of the variable to cut for internal nodes, -1 for leaf nodes
Definition: NodeImpl.h:74
MVAUtils::NodeLGBM::m_var
var_t m_var
index of the variable to cut for internal nodes, -1 for leaf nodes
Definition: NodeImpl.h:152
MVAUtils::NodeXGBoost::m_default_left
int8_t m_default_left
Definition: NodeImpl.h:195
NodeImpl.h
MVAUtils::NodeLGBMSimple::m_var
var_t m_var
index of the variable to cut for internal nodes, -1 for leaf nodes
Definition: NodeImpl.h:117
MVAUtils::NodeLGBM::Print
void Print(index_t index) const
Definition: NodeImpl.cxx:25