{
"cells": [
{
"cell_type": "markdown",
"id": "93fa2560",
"metadata": {},
"source": [
"# TMVACrossValidationApplication\n",
"This macro provides an example of how to use TMVA for k-folds cross\n",
"evaluation in application.\n",
"\n",
"This requires that CrossValidation was run with a deterministic split, such\n",
"as `\"...:splitExpr=int([eventID])%int([numFolds]):...\"`.\n",
"\n",
"- Project : TMVA - a ROOT-integrated toolkit for multivariate data analysis\n",
"- Package : TMVA\n",
"- Root Macro: TMVACrossValidationApplication\n",
"\n",
"\n",
"\n",
"**Author:** Kim Albertsson (adapted from code originally by Andreas Hoecker) \n",
"This notebook tutorial was automatically generated with ROOTBOOK-izer from the macro found in the ROOT repository on Tuesday, May 19, 2026 at 08:24 PM."
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "38c7526c",
"metadata": {
"collapsed": false,
"execution": {
"iopub.execute_input": "2026-05-19T20:24:09.970871Z",
"iopub.status.busy": "2026-05-19T20:24:09.970754Z",
"iopub.status.idle": "2026-05-19T20:24:09.974751Z",
"shell.execute_reply": "2026-05-19T20:24:09.974385Z"
}
},
"outputs": [],
"source": [
"%%cpp -d\n",
"#include \n",
"#include \n",
"#include