Skip to content

[ML] Refactor the data loader headers#21397

Open
siliataider wants to merge 1 commit intoroot-project:masterfrom
siliataider:batchgenerator
Open

[ML] Refactor the data loader headers#21397
siliataider wants to merge 1 commit 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 8h 58m 21s ⏱️
 3 808 tests  3 807 ✅ 1 💤 0 ❌
76 632 runs  76 623 ✅ 9 💤 0 ❌

Results for commit 3afd413.

♻️ This comment has been updated with latest results.

@siliataider siliataider force-pushed the batchgenerator branch 3 times, most recently from 9f68080 to 42365a1 Compare March 2, 2026 10:59
@siliataider siliataider force-pushed the batchgenerator branch 2 times, most recently from fea3b5a to 2133fa2 Compare March 2, 2026 12:19
@siliataider siliataider marked this pull request as ready for review March 2, 2026 16:44
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