CrossValidator¶
-
class
ctapipe.reco.CrossValidator(**kwargs: Any)[source]¶ Bases:
ctapipe.core.component.ComponentClass to train sklearn based reconstructors in a cross validation
Attributes Summary
An int trait.
Output path for the cross validation results.
Seed for the random number generator
Methods Summary
__call__(telescope_type, table)Call self as a function.
write([overwrite])Attributes Documentation
-
n_cross_validations¶ An int trait.
-
output_path¶ Output path for the cross validation results. This is a hdf5 file containing labels and predictions for the events used in the cross validation which can be used to create performance plots.
-
rng_seed¶ Seed for the random number generator
Methods Documentation
-