LDAComponentClassifier#
Module: exa.core.multistate_classifier.linear_discriminant_analysis
- class LDAComponentClassifier#
Bases:
SingleComponentClassifierClassifier for a single qpu component - a qubit.
Attributes
The label used as part of the observation name for this classifier.
The names of the model parameters used by this classifier.
Methods
- LABEL = 'lda_component_classifier'#
The label used as part of the observation name for this classifier.
- MODEL_PARAMETERS: ClassVar[list[str]] = ['coef', 'inter', 'inverse_assignment_error']#
The names of the model parameters used by this classifier.
- apply(input_data, component, data_variable_label, component_override)#
Apply the LDA classifier to data.
Updates the provided data with the classification results.
- calibrate(input_data, component, data_variable_label)#
Calibrate the LDA classifier with data.
- Parameters:
- Returns:
Tha mapping of observation names to calibrated model parameters.
- Return type:
Inheritance
