Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
_ml_dataloader.py File Reference

Classes

class  ROOT._pythonization._ml_dataloader._RDataLoader
 
class  ROOT._pythonization._ml_dataloader._TrainingEpochContext
 
class  ROOT._pythonization._ml_dataloader._ValidationEpochContext
 
class  ROOT._pythonization._ml_dataloader.FormattedLoader
 Iterable that converts each batch to the requested format. More...
 
class  ROOT._pythonization._ml_dataloader.RDataLoader
 Entry point for ML batch loading from a ROOT RDataFrame. More...
 

Namespaces

namespace  ROOT
 
namespace  ROOT._pythonization
 
namespace  ROOT._pythonization._ml_dataloader
 

Functions

list[str] ROOT._pythonization._ml_dataloader._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.
 
 ROOT._pythonization._ml_dataloader._inject_dataloader_api (parentmodule)
 Inject the public Python API into the ROOT.Experimental.ML namespace.
 
bool ROOT._pythonization._ml_dataloader._is_spec (Any item)
 Whether item is a (dataset_name, files) tuple.
 
list[str] ROOT._pythonization._ml_dataloader._normalize_target (str|list[str]|None target)
 target can be a string, list of strings, or None.
 
list ROOT._pythonization._ml_dataloader._open_files (Any inputs)
 Return the inputs as a list of RDataFrames, each (dataset_name, files) tuple being read into one RDataFrame.
 
None ROOT._pythonization._ml_dataloader._raise_if_implicit_mt (list rdfs)
 Raise if ImplicitMT is enabled, or was when one of the RDataFrames was created.
 

Variables

 ROOT._pythonization._ml_dataloader.__name__
 
 ROOT._pythonization._ml_dataloader.Spec = Tuple[str, str | os.PathLike | Iterable[str | os.PathLike]]