Skip to content

[tmva] Deprecate PyMVA and the tmva-pymva build option - #23260

Merged
guitargeek merged 1 commit into
root-project:masterfrom
guitargeek:pymva
Sep 4, 2026
Merged

[tmva] Deprecate PyMVA and the tmva-pymva build option#23260
guitargeek merged 1 commit into
root-project:masterfrom
guitargeek:pymva

Conversation

@guitargeek

Copy link
Copy Markdown
Contributor

PyMVA, the set of TMVA method plugins backed by Python machine-learning libraries (PyKeras, PyTorch, PyRandomForest, PyGTB and PyAdaBoost), is deprecated and scheduled for removal in ROOT 6.44.

Like the SOFIE Keras and PyTorch parsers that are removed in this release cycle, PyMVA relies on implementation details of the underlying Python libraries that change faster than is appropriate for ROOT's stability standards.

Users are encouraged to train and evaluate their models directly with the Python machine-learning libraries, which integrate well with the ROOT Python interface. For high-performance inference in C++, models can be exported to ONNX and evaluated with SOFIE.

Besides the configure-time CMake deprecation warning, a runtime warning is emitted whenever a PyMVA method is constructed: PyMVA users typically consume ROOT as a pre-built binary (LCG, conda), so they would never see the configure-time message.

PyMVA, the set of TMVA method plugins backed by Python machine-learning
libraries (PyKeras, PyTorch, PyRandomForest, PyGTB and PyAdaBoost), is
deprecated and scheduled for removal in ROOT 6.44.

Like the SOFIE Keras and PyTorch parsers that are removed in this
release cycle, PyMVA relies on implementation details of the underlying
Python libraries that change faster than is appropriate for ROOT's
stability standards.

Users are encouraged to train and evaluate their models directly with
the Python machine-learning libraries, which integrate well with the
ROOT Python interface. For high-performance inference in C++, models can
be exported to ONNX and evaluated with SOFIE.

Besides the configure-time CMake deprecation warning, a runtime warning
is emitted whenever a PyMVA method is constructed: PyMVA users typically
consume ROOT as a pre-built binary (LCG, conda), so they would never see
the configure-time message.
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

Test Results

    23 files      23 suites   3d 19h 33m 3s ⏱️
 3 871 tests  3 868 ✅ 0 💤 3 ❌
79 763 runs  79 759 ✅ 1 💤 3 ❌

For more details on these failures, see this check.

Results for commit 7e60014.

@guitargeek
guitargeek merged commit e34abbb into root-project:master Sep 4, 2026
30 of 34 checks passed
@guitargeek
guitargeek deleted the pymva branch September 4, 2026 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants