![]() |
Belle II Software
release-05-02-19
|
Public Member Functions | |
def | identifier (self) |
def | sample_file_name (self) |
def | create_argument_parser (self, **kwds) |
def | postprocess (self) |
def | run (self, path) |
def | name (self) |
def | configure_and_execute_from_commandline (self) |
def | execute (self) |
def | configure_from_commandline (self) |
def | configure (self, arguments) |
def | create_path (self) |
def | adjust_path (self, path) |
def | run (self, path) |
def | name (self) |
def | configure_and_execute_from_commandline (self) |
def | execute (self) |
def | configure_from_commandline (self) |
def | configure (self, arguments) |
def | create_path (self) |
def | adjust_path (self, path) |
Public Attributes | |
task | |
Process each event according to the user's desired task (train, eval, explore) | |
output_file_name | |
Set file name for the TBrowser to show if demanded. | |
Static Public Attributes | |
string | task = "train" |
Recording / training task selected. | |
variables = None | |
Input variable for the training or the classification analysis. More... | |
groupby = None | |
Input groupby the classification analysis. More... | |
auxiliaries = None | |
Input auxiliaries the classification analysis. More... | |
string | truth = "truth" |
Truth variable name. | |
bool | show_results = False |
By default, do not show the browsing results. | |
bool | postprocess_only = False |
By default, browse the output TFile too. | |
string | description = "Empty execution of basf2" |
Description of the run setup to be displayed on command line. | |
bool | postprocess_only = False |
By default, browse the output TFile too. | |
string | description = "Empty execution of basf2" |
Description of the run setup to be displayed on command line. | |
Prepare and execute a basf2 job to train neural network, postprocess, and inspect
Definition at line 11 of file training.py.
|
inherited |
Hook that gives the opportunity to check the path for consistency before processing it
Reimplemented in HarvestingRunMixin.
Definition at line 88 of file minimal.py.
|
inherited |
Hook that gives the opportunity to check the path for consistency before processing it
Reimplemented in HarvestingRunMixin.
Definition at line 88 of file minimal.py.
|
inherited |
Save the command-line arguments as key-value pairs
Reimplemented in CDCDisplayRun, and ReadOrGenerateEventsRun.
Definition at line 67 of file minimal.py.
|
inherited |
Save the command-line arguments as key-value pairs
Reimplemented in CDCDisplayRun, and ReadOrGenerateEventsRun.
Definition at line 67 of file minimal.py.
|
inherited |
Configure basf2 job script from command-line arguments then run it
Definition at line 39 of file minimal.py.
|
inherited |
Configure basf2 job script from command-line arguments then run it
Definition at line 39 of file minimal.py.
|
inherited |
Convert the command-line arguments to a basf2 job script
Definition at line 61 of file minimal.py.
|
inherited |
Convert the command-line arguments to a basf2 job script
Definition at line 61 of file minimal.py.
def create_argument_parser | ( | self, | |
** | kwds | ||
) |
Create argument parser
Reimplemented from PostProcessingRunMixin.
Definition at line 42 of file training.py.
|
inherited |
Create a new basf2 path
Reimplemented in SegmentFitValidationRun, MinimalRun, SegmentPairFitValidationRun, CDCDisplayRun, ReadOrGenerateEventsRun, ElossHarvestingRun, TrackingValidationRun, RootOutputRunMixin, FitValidation, FacetFilterTrainingRun, ReadOrGenerateTrackedEventsRun, SegmentPairCreationValidationRun, LegendreBinningValidationRun, ClusterFilterValidationRun, SegmentQuadTreeRun, WireHitPreparerRunMixin, FacetRelationFilterTrainingRun, SegmentTrackFilterTrainingRun, TrackFilterTrainingRun, FeasibleAxialSegmentPairFilterTrainingRun, FeasibleSegmentPairFilterTrainingRun, FeasibleSegmentRelationFilterTrainingRun, FeasibleTrackRelationFilterTrainingRun, RealisticSegmentPairRelationFilterTrainingRun, RealisticSegmentRelationFilterTrainingRun, RealisticTrackRelationFilterTrainingRun, RealisticAxialSegmentPairFilterTrainingRun, RealisticSegmentPairFilterTrainingRun, and BackgroundClusterFilterTrainingRun.
Definition at line 83 of file minimal.py.
|
inherited |
Create a new basf2 path
Reimplemented in SegmentFitValidationRun, MinimalRun, SegmentPairFitValidationRun, CDCDisplayRun, ReadOrGenerateEventsRun, ElossHarvestingRun, TrackingValidationRun, RootOutputRunMixin, FitValidation, FacetFilterTrainingRun, ReadOrGenerateTrackedEventsRun, SegmentPairCreationValidationRun, LegendreBinningValidationRun, ClusterFilterValidationRun, SegmentQuadTreeRun, WireHitPreparerRunMixin, FacetRelationFilterTrainingRun, SegmentTrackFilterTrainingRun, TrackFilterTrainingRun, FeasibleAxialSegmentPairFilterTrainingRun, FeasibleSegmentPairFilterTrainingRun, FeasibleSegmentRelationFilterTrainingRun, FeasibleTrackRelationFilterTrainingRun, RealisticSegmentPairRelationFilterTrainingRun, RealisticSegmentRelationFilterTrainingRun, RealisticTrackRelationFilterTrainingRun, RealisticAxialSegmentPairFilterTrainingRun, RealisticSegmentPairFilterTrainingRun, and BackgroundClusterFilterTrainingRun.
Definition at line 83 of file minimal.py.
|
inherited |
Create the basf2 path then run the job
Reimplemented in ReadOrGenerateEventsRun.
Definition at line 44 of file minimal.py.
|
inherited |
Create the basf2 path then run the job
Reimplemented in ReadOrGenerateEventsRun.
Definition at line 44 of file minimal.py.
def identifier | ( | self | ) |
Database identifier of the filte being trained
Definition at line 30 of file training.py.
|
inherited |
provide name of this object
Definition at line 35 of file minimal.py.
|
inherited |
provide name of this object
Definition at line 35 of file minimal.py.
def postprocess | ( | self | ) |
Run the training as post-processing job To run only the training run with --postprocess-only
Reimplemented from PostProcessingRunMixin.
Definition at line 56 of file training.py.
|
inherited |
|
inherited |
def sample_file_name | ( | self | ) |
File name of the recorded sample to be trained on Defaults to the class name minus the mandatory TrainingRun postfix
Definition at line 35 of file training.py.
|
static |
Input auxiliaries the classification analysis.
Default use none
Definition at line 24 of file training.py.
|
static |
Input groupby the classification analysis.
Default use no groupby
Definition at line 21 of file training.py.
|
static |
Input variable for the training or the classification analysis.
Default use all variables
Definition at line 18 of file training.py.