Building and loading the chunks from the blocks and chunks constructed in RChunkConstructor.
In this class the blocks are stiches together to form chunks that are loaded into memory. The blocks used to create each chunk comes from different parts of the dataset. This is achieved by shuffling the blocks before distributing them into chunks. The purpose of this process is to reduce bias during machine learning training by ensuring that the data is well mixed. The dataset is also spit into training and validation sets with the user-defined validation split fraction.
#include <TMVA/BatchGenerator/RChunkLoader.hxx>