Logo ROOT   6.21/01
Reference Guide
TMVA::Experimental Namespace Reference

Namespaces

 Internal
 
 Objectives
 

Classes

struct  BranchlessForest
 Forest using branchless trees. More...
 
struct  BranchlessJittedForest
 Forest using branchless jitted trees. More...
 
class  BranchlessTree
 Branchless representation of a decision tree using topological ordering. More...
 
class  Classification
 
class  ClassificationResult
 
struct  ForestBase
 Forest base class. More...
 
class  RBDT
 Fast boosted decision tree inference. More...
 
class  RReader
 TMVA::Reader legacy interface. More...
 
class  RStandardScaler
 
class  RTensor
 RTensor is a container with contiguous memory and shape information. More...
 
class  SaveXGBoost
 Save an XGBoost to a ROOT file to be used with the fast tree inference system of TMVA. More...
 

Enumerations

enum  MemoryLayout : uint8_t { MemoryLayout::RowMajor = 0x01, MemoryLayout::ColumnMajor = 0x02, MemoryLayout::RowMajor = 0x01, MemoryLayout::ColumnMajor = 0x02 }
 Memory layout type. More...
 
enum  MemoryLayout : uint8_t { MemoryLayout::RowMajor = 0x01, MemoryLayout::ColumnMajor = 0x02, MemoryLayout::RowMajor = 0x01, MemoryLayout::ColumnMajor = 0x02 }
 Memory layout type (copy from RTensor.hxx) More...
 

Functions

template<typename T , typename U >
RTensor< T > AsTensor (U &dataframe, std::vector< std::string > columns={}, MemoryLayout layout=MemoryLayout::RowMajor)
 Convert the content of an RDataFrame to an RTensor. More...
 
template<std::size_t N, typename T , typename F >
auto Compute (F &&f) -> Internal::ComputeHelper< std::make_index_sequence< N >, T, F >
 Helper to pass TMVA model to RDataFrame.Define nodes. More...
 
template<typename T >
std::ostream & operator<< (std::ostream &os, RTensor< T > &x)
 Pretty printing. More...
 

Enumeration Type Documentation

◆ MemoryLayout [1/2]

enum TMVA::Experimental::MemoryLayout : uint8_t
strong

Memory layout type.

Enumerator
RowMajor 
ColumnMajor 
RowMajor 
ColumnMajor 

Definition at line 17 of file RTensor.hxx.

◆ MemoryLayout [2/2]

enum TMVA::Experimental::MemoryLayout : uint8_t
strong

Memory layout type (copy from RTensor.hxx)

Enumerator
RowMajor 
ColumnMajor 
RowMajor 
ColumnMajor 

Definition at line 46 of file CudaTensor.h.

Function Documentation

◆ AsTensor()

template<typename T , typename U >
RTensor<T> TMVA::Experimental::AsTensor ( U &  dataframe,
std::vector< std::string >  columns = {},
MemoryLayout  layout = MemoryLayout::RowMajor 
)

Convert the content of an RDataFrame to an RTensor.

Parameters
[in]dataframeRDataFrame node
[in]columnsVector of column names
[in]layoutMemory layout
Returns
RTensor with content from selected columns

Definition at line 21 of file RTensorUtils.hxx.

◆ Compute()

template<std::size_t N, typename T , typename F >
auto TMVA::Experimental::Compute ( F &&  f) -> Internal::ComputeHelper<std::make_index_sequence<N>, T, F>

Helper to pass TMVA model to RDataFrame.Define nodes.

Definition at line 31 of file RInferenceUtils.hxx.

◆ operator<<()

template<typename T >
std::ostream& TMVA::Experimental::operator<< ( std::ostream &  os,
RTensor< T > &  x 
)

Pretty printing.

Parameters
[in]osOutput stream
[in]xRTensor
Returns
Modified output stream

Definition at line 561 of file RTensor.hxx.