SVMComponentClassifier#
Module: exa.core.multistate_classifier.support_vector_machine
- class SVMComponentClassifier#
Bases:
SingleComponentClassifierClassifier for a single QPU component - a qubit - based on a linear support vector machine (SVM).
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 = 'svm_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 SVM classifier to data.
Updates the provided data with the classification results.
- calibrate(input_data, component, data_variable_label)#
Calibrate the SVM classifier with data.
- Parameters:
- Returns:
The mapping of observation names to calibrated model parameters.
- Return type:
Inheritance
