File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
qiskit/aqua/algorithms/classifiers Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 12
12
# copyright notice, and modified files need to carry a notice indicating
13
13
# that they have been altered from the originals.
14
14
15
- """Quantum SVM algorithm."""
15
+ """The Quantum SVM algorithm."""
16
16
17
17
from typing import Dict , Optional , Union
18
18
import logging
42
42
43
43
class QSVM (QuantumAlgorithm ):
44
44
"""
45
- Quantum SVM algorithm.
45
+ The Quantum SVM algorithm.
46
46
47
47
A key concept in classification methods is that of a kernel. Data cannot typically be
48
48
separated by a hyperplane in its original space. A common technique used to find such a
Original file line number Diff line number Diff line change 13
13
# that they have been altered from the originals.
14
14
15
15
"""
16
- The Sklearn SVM algorithm.
16
+ The Sklearn SVM algorithm (classical) .
17
17
"""
18
18
19
19
from typing import Dict , Optional
36
36
37
37
class SklearnSVM (ClassicalAlgorithm ):
38
38
"""
39
- The Sklearn SVM algorithm.
39
+ The Sklearn SVM algorithm (classical) .
40
40
41
- SVM Classical uses a classical approach to experiment with feature map classification
42
- problems. See also the quantum classifier :class:`QSVM`.
41
+ This scikit-learn based SVM algorithm uses a classical approach to experiment with feature map
42
+ classification problems. See also the quantum classifier :class:`QSVM`.
43
43
44
- Internally, SVM Classical will run the binary classification or multiclass classification
44
+ Internally, this algorithm will run the binary classification or multiclass classification
45
45
based on how many classes the data has. If the data has more than 2 classes then a
46
46
*multiclass_extension* is required to be supplied. Aqua provides several
47
47
:mod:`~qiskit.aqua.components.multiclass_extensions`.
You can’t perform that action at this time.
0 commit comments