SKLearnClassificationReconstructor

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

Bases: ctapipe.reco.sklearn.SKLearnReconstructor

Base class for classification tasks

Attributes Summary

invalid_class

The label 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 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.