|q⟩ Bad Qubits

← Question Bank

Multiple choice
A QML classifier outputs real scores and predicts sign(output) as the class label in {+1, -1}. Outputs = [0.82, -0.30, 0.10, -0.65, 0.45] with true labels = [1, -1, -1, -1, 1]. Counting a prediction correct when sign matches the label, what is the accuracy?