We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
self._num_features
1 parent 7b57913 commit 56bbed0Copy full SHA for 56bbed0
qiskit_machine_learning/kernels/base_kernel.py
@@ -130,7 +130,7 @@ def _validate_input(
130
raise ValueError(
131
f"x_vec and class feature map have incompatible dimensions.\n"
132
f"x_vec has {x_vec.shape[1]} dimensions, "
133
- f"but feature map has {self._feature_map.num_parameters}."
+ f"but feature map has {self._num_features}."
134
) from a_e
135
136
if y_vec is not None:
0 commit comments