ctapipe is not stable yet, so expect large and rapid changes to structure and functionality as we explore various design choices before the 1.0 release.

SKLearnClassificationReconstructor#

class ctapipe.reco.sklearn.SKLearnClassificationReconstructor(**kwargs: Any)[source]#

Bases: SKLearnReconstructor

Base class for classification tasks.

Attributes Summary

invalid_class

The label value to fill in case no prediction could be made.

model_cls

Which scikit-learn classification model to use.

positive_class

The label value of the positive class in case of binary classification.

Attributes Documentation

invalid_class#

The label value to fill in case no prediction could be made.

model_cls#

Which scikit-learn classification model to use.

positive_class#

The label value of the positive class in case of binary classification. prediction values close to 1.0 mean the event belonged likely to this class.