600633ca50dbae038f494162a67e3cab2a84b4b6,test/test_qsvm_kernel.py,TestQSVMKernel,test_qsvm_kernel_multiclass_one_against_all,#TestQSVMKernel#,140

Before Change


            "feature_map": {"name": "SecondOrderExpansion", "depth": 2, "entangler_map": {0: [1]}}
        }

        algo_input = get_input_class("SVMInput")()
        algo_input.training_dataset = training_input
        algo_input.test_dataset = test_input
        algo_input.datapoints = total_array

        result = run_algorithm(params, algo_input)

        expected_accuracy = 0.444444444

After Change



    def test_qsvm_kernel_multiclass_one_against_all(self):

        backend = Aer.get_backend("qasm_simulator")
        training_input = {"A": np.asarray([[0.6560706, 0.17605998], [0.25776033, 0.47628296],
                                           [0.8690704, 0.70847635]]),
                          "B": np.asarray([[0.38857596, -0.33775802], [0.49946978, -0.48727951],
                                           [0.49156185, -0.3660534]]),
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 10

Instances


Project Name: Qiskit/qiskit-aqua
Commit Name: 600633ca50dbae038f494162a67e3cab2a84b4b6
Time: 2018-11-20
Author: chenrich@us.ibm.com
File Name: test/test_qsvm_kernel.py
Class Name: TestQSVMKernel
Method Name: test_qsvm_kernel_multiclass_one_against_all


Project Name: Qiskit/qiskit-aqua
Commit Name: 600633ca50dbae038f494162a67e3cab2a84b4b6
Time: 2018-11-20
Author: chenrich@us.ibm.com
File Name: test/test_qsvm_kernel.py
Class Name: TestQSVMKernel
Method Name: test_qsvm_kernel_multiclass_all_pairs


Project Name: Qiskit/qiskit-aqua
Commit Name: 600633ca50dbae038f494162a67e3cab2a84b4b6
Time: 2018-11-20
Author: chenrich@us.ibm.com
File Name: test/test_qsvm_kernel.py
Class Name: TestQSVMKernel
Method Name: test_qsvm_kernel_multiclass_error_correcting_code


Project Name: Qiskit/qiskit-aqua
Commit Name: 600633ca50dbae038f494162a67e3cab2a84b4b6
Time: 2018-11-20
Author: chenrich@us.ibm.com
File Name: test/test_qsvm_kernel.py
Class Name: TestQSVMKernel
Method Name: test_qsvm_kernel_binary_via_run_algorithm