Classes | |
| class | _RDataLoader |
| class | _TrainingEpochContext |
| class | _ValidationEpochContext |
| class | FormattedLoader |
| Iterable that converts each batch to the requested format. More... | |
| class | RDataLoader |
| Entry point for ML batch loading from a ROOT RDataFrame. More... | |
Functions | |
| list[str] | _exclude_target_and_weights (list[str] columns, list[str] target_columns, str weights_column) |
Drop any target/weights column names that also appear in columns. | |
| _inject_dataloader_api (parentmodule) | |
| Inject the public Python API into the ROOT.Experimental.ML namespace. | |
| bool | _is_spec (Any item) |
Whether item is a (dataset_name, files) tuple. | |
| list[str] | _normalize_target (str|list[str]|None target) |
target can be a string, list of strings, or None. | |
| list | _open_files (Any inputs) |
Return the inputs as a list of RDataFrames, each (dataset_name, files) tuple being read into one RDataFrame. | |
| None | _raise_if_implicit_mt (list rdfs) |
| Raise if ImplicitMT is enabled, or was when one of the RDataFrames was created. | |
Variables | |
| __name__ | |
| Spec = Tuple[str, str | os.PathLike | Iterable[str | os.PathLike]] | |
|
protected |
Drop any target/weights column names that also appear in columns.
Definition at line 45 of file _ml_dataloader.py.
|
protected |
Inject the public Python API into the ROOT.Experimental.ML namespace.
Only RDataLoader is part of the public surface.
Definition at line 936 of file _ml_dataloader.py.
|
protected |
Whether item is a (dataset_name, files) tuple.
Definition at line 61 of file _ml_dataloader.py.
|
protected |
target can be a string, list of strings, or None.
Normalize to a list of strings to be consistent with columns.
Definition at line 35 of file _ml_dataloader.py.
|
protected |
Return the inputs as a list of RDataFrames, each (dataset_name, files) tuple being read into one RDataFrame.
Definition at line 66 of file _ml_dataloader.py.
|
protected |
Raise if ImplicitMT is enabled, or was when one of the RDataFrames was created.
Definition at line 51 of file _ml_dataloader.py.
|
private |
Definition at line 942 of file _ml_dataloader.py.
| ROOT._pythonization._ml_dataloader.Spec = Tuple[str, str | os.PathLike | Iterable[str | os.PathLike]] |
Definition at line 32 of file _ml_dataloader.py.