|
string | weightfile_identifier_basename = "cdc_mva_qe" |
| Name of the weightfile that is created.
|
|
string | tree_name = "records" |
| Name of the TTree in the ROOT file from the data_collection_task that contains the training data for the MVA teacher.
|
|
string | random_seed = "train_cdc" |
| Random basf2 seed used to create the training data set.
|
|
| data_collection_task = CDCQEDataCollectionTask |
| Defines DataCollectionTask to require by tha base class to collect features for the MVA training.
|
|
| n_events_training = b2luigi.IntParameter() |
| Number of events to generate for the training data set.
|
|
| experiment_number = b2luigi.IntParameter() |
| Experiment number of the conditions database, e.g. More...
|
|
| process_type = b2luigi.Parameter(default="BBBAR") |
| Define which kind of process shall be used. More...
|
|
| training_target = b2luigi.Parameter(default="truth") |
| Feature/variable to use as truth label in the quality estimator MVA classifier.
|
|
| exclude_variables = b2luigi.ListParameter(hashed=True, default=[]) |
| List of collected variables to not use in the training of the QE MVA classifier. More...
|
|
| fast_bdt_option = b2luigi.ListParameter(hashed=True, default=[200, 8, 3, 0.1]) |
| Hyperparameter option of the FastBDT algorithm. More...
|
|
Task to run basf2 mva teacher on collected data for CDC track quality estimator
Definition at line 1179 of file combined_quality_estimator_teacher.py.
◆ data_collection_task()
Basf2PathTask data_collection_task |
( |
|
self | ) |
|
|
inherited |
◆ get_weightfile_xml_identifier()
def get_weightfile_xml_identifier |
( |
|
self, |
|
|
|
fast_bdt_option = None , |
|
|
|
recotrack_option = None |
|
) |
| |
|
inherited |
Name of the xml weightfile that is created by the teacher task.
It is subsequently used as a local weightfile in the following validation tasks.
Definition at line 1051 of file combined_quality_estimator_teacher.py.
◆ output()
◆ process()
Use basf2_mva teacher to create MVA weightfile from collected training
data variables.
This is the main process that is dispatched by the ``run`` method that
is inherited from ``Basf2Task``.
Definition at line 1123 of file combined_quality_estimator_teacher.py.
◆ random_seed()
Property defining random seed to be used by the ``GenerateSimTask``.
Should differ from the random seed in the test data samples. Must
implemented by the inheriting specific teacher task class.
Definition at line 1078 of file combined_quality_estimator_teacher.py.
◆ requires()
◆ tree_name()
Property defining the name of the tree in the ROOT file from the
``data_collection_task`` that contains the recorded training data. Must
implemented by the inheriting specific teacher task class.
Definition at line 1069 of file combined_quality_estimator_teacher.py.
◆ weightfile_identifier_basename()
def weightfile_identifier_basename |
( |
|
self | ) |
|
|
inherited |
Property defining the basename for the .xml and .root weightfiles that are created.
Has to be implemented by the inheriting teacher task class.
Definition at line 1042 of file combined_quality_estimator_teacher.py.
◆ exclude_variables
exclude_variables = b2luigi.ListParameter(hashed=True, default=[]) |
|
staticinherited |
List of collected variables to not use in the training of the QE MVA classifier.
In addition to variables containing the "truth" substring, which are excluded by default.
Definition at line 1037 of file combined_quality_estimator_teacher.py.
◆ experiment_number
experiment_number = b2luigi.IntParameter() |
|
staticinherited |
◆ fast_bdt_option
fast_bdt_option = b2luigi.ListParameter(hashed=True, default=[200, 8, 3, 0.1]) |
|
staticinherited |
◆ process_type
process_type = b2luigi.Parameter(default="BBBAR") |
|
staticinherited |
Define which kind of process shall be used.
Decide between simulating BBBAR or BHABHA, MUMU, YY, DDBAR, UUBAR, SSBAR, CCBAR, reconstructing DATA or already simulated files (USESIMBB/EE) or running on existing reconstructed files (USERECBB/EE)
Definition at line 1032 of file combined_quality_estimator_teacher.py.
The documentation for this class was generated from the following file: