qiskit-machine-learning
qiskit-machine-learning copied to clipboard
Mismatching between loss function code and documentation formula
According to this documentation the binary labels are part of the equation of SVCLoss, https://qiskit-community.github.io/qiskit-machine-learning/stubs/qiskit_machine_learning.utils.loss_functions.SVCLoss.html#:~:text=This%20class%20provides,is%20defined%20as%3A However in this line of code we don't have the label in the loss function anymore. https://github.com/qiskit-community/qiskit-machine-learning/blob/253b190eba869b4d002e490323ee4139612f01c9/qiskit_machine_learning/utils/loss_functions/kernel_loss_functions.py#L125 Can you explain why?