Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RChunkConstructor Class Reference

The logic for constructing chunks from a dataset.

This struct handles the logic for splitting a dataset into smaller subsets known as chunks, which are constructed from blocks.

A chunk is the largest portion of the dataset loaded into memory at once, and each chunk is further divided into batches for machine learning training.

The dataset is split into disjoint chunks based on a user-defined chunk size. There are two types of chunks:

  • Full chunks: contain exactly the number of entries specified by the chunk size.
  • Leftover chunk: contains any remaining entries that don't make up a full chunk.

Each chunk is constructed from blocks based on a user-defined block size. There are two types of blocks:

  • Full blocks: contain exactly the number of entries specified by the block size.
  • Leftover block: contains any remaining entries that don't make up a full block.

The blocks are defined by their start and end entries, which correspond to positions within the dataset’s total number of entries.

#include <TMVA/BatchGenerator/RChunkConstructor.hxx>


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