Belle II Software development
FBDTTrainSample< Ndims > Struct Template Reference

bundle together the classifier input and the target value into one struct for easier passing around. More...

#include <FBDTClassifierHelper.h>

Public Member Functions

 FBDTTrainSample (const std::array< double, Ndims > &values, bool sig)
 constructor from array of inputs and a target value
 
 FBDTTrainSample ()
 default constructor
 

Public Attributes

std::array< double, Ndims > hits {}
 inputs
 
bool signal {}
 target
 

Detailed Description

template<size_t Ndims = 9>
struct Belle2::FBDTTrainSample< Ndims >

bundle together the classifier input and the target value into one struct for easier passing around.

Definition at line 26 of file FBDTClassifierHelper.h.

Constructor & Destructor Documentation

◆ FBDTTrainSample() [1/2]

FBDTTrainSample ( const std::array< double, Ndims > &  values,
bool  sig 
)
inlineexplicit

constructor from array of inputs and a target value

Definition at line 28 of file FBDTClassifierHelper.h.

28: hits(values), signal(sig) {}
std::array< double, Ndims > hits
inputs

◆ FBDTTrainSample() [2/2]

FBDTTrainSample ( )
inline

default constructor

Definition at line 31 of file FBDTClassifierHelper.h.

31{ };

Member Data Documentation

◆ hits

std::array<double, Ndims> hits {}

inputs

Definition at line 34 of file FBDTClassifierHelper.h.

◆ signal

bool signal {}

target

Definition at line 37 of file FBDTClassifierHelper.h.


The documentation for this struct was generated from the following file: