Skip to content

[ML] Refactor the data loader headers#21397

Draft
siliataider wants to merge 5 commits intoroot-project:masterfrom
siliataider:batchgenerator
Draft

[ML] Refactor the data loader headers#21397
siliataider wants to merge 5 commits intoroot-project:masterfrom
siliataider:batchgenerator

Conversation

@siliataider
Copy link
Contributor

@siliataider siliataider commented Feb 26, 2026

This Pull request:

Changes or fixes:

This PR reorganizes the data loader headers, and refactors some of the includes, into the following structure:

  • tree/ml/inc/ROOT/ML/RBatchGenerator.hxx not split (templated)
  • tree/ml/inc/ROOT/ML/RBatchLoader.hxx split into
    • tree/ml/inc/ROOT/ML/RBatchLoader.hxx
    • tree/ml/src/RBatchLoader.cxx
  • tree/ml/inc/ROOT/ML/RChunkConstructor.hxx split into
    • tree/ml/inc/ROOT/ML/RChunkConstructor.hxx
    • tree/ml/src/RChunkConstructor.cxx
  • tree/ml/inc/ROOT/ML/RChunkLoader.hxx not split (templated)
  • tree/ml/inc/ROOT/ML/RDatasetLoader.hxx not split (templated)
  • tree/ml/inc/ROOT/ML/RFlat2DMatrix.hxx not split (not templated but trivial, mostly contains one liners)
  • tree/ml/inc/ROOT/ML/RFlat2DMatrixOperators.hxx split into
    • tree/ml/inc/ROOT/ML/RFlat2DMatrixOperators.hxx
    • tree/ml/src/RFlat2DMatrixOperators.cxx
  • tree/ml/inc/ROOT/ML/RSampler.hxx split into
    • tree/ml/inc/ROOT/ML/RSampler.hxx
    • tree/ml/src/RSampler.cxx

Checklist:

  • tested changes locally

@siliataider siliataider self-assigned this Feb 26, 2026
@siliataider siliataider added the in:ML Everything under ROOT/ML label Feb 26, 2026
@github-actions
Copy link

github-actions bot commented Feb 26, 2026

Test Results

    22 files      22 suites   3d 4h 33m 19s ⏱️
 3 807 tests  3 803 ✅ 1 💤  3 ❌
75 691 runs  75 665 ✅ 9 💤 17 ❌

For more details on these failures, see this check.

Results for commit 2422894.

♻️ This comment has been updated with latest results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in:ML Everything under ROOT/ML

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant