600633ca50dbae038f494162a67e3cab2a84b4b6,test/test_qsvm_kernel.py,TestQSVMKernel,test_qsvm_kernel_multiclass_all_pairs,#TestQSVMKernel#,181

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)
        self.assertAlmostEqual(result["testing_accuracy"], 0.444444444, places=4,
                               msg="Please ensure you are using C++ simulator")
        self.assertEqual(result["predicted_classes"], ["A", "A", "C", "A",

After Change


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

        algo_input = get_input_class("SVMInput")(training_input, test_input, total_array)
        result = run_algorithm(params, algo_input, backend=backend)
        self.assertAlmostEqual(result["testing_accuracy"], 0.444444444, places=4,
                               msg="Please ensure you are using C++ simulator")
        self.assertEqual(result["predicted_classes"], ["A", "A", "C", "A",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 8

Non-data size: 8

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_all_pairs


Project Name: Qiskit/qiskit-aqua
Commit Name: a295579c3709858015680755fcd63997ccfa0ee7
Time: 2018-11-20
Author: chenrich@us.ibm.com
File Name: test/test_svm_classical.py
Class Name: TestSVMClassical
Method Name: test_classical_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_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


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: a295579c3709858015680755fcd63997ccfa0ee7
Time: 2018-11-20
Author: chenrich@us.ibm.com
File Name: test/test_svm_classical.py
Class Name: TestSVMClassical
Method Name: test_classical_binary


Project Name: Qiskit/qiskit-aqua
Commit Name: a295579c3709858015680755fcd63997ccfa0ee7
Time: 2018-11-20
Author: chenrich@us.ibm.com
File Name: test/test_svm_classical.py
Class Name: TestSVMClassical
Method Name: test_classical_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_one_against_all


Project Name: Qiskit/qiskit-aqua
Commit Name: a295579c3709858015680755fcd63997ccfa0ee7
Time: 2018-11-20
Author: chenrich@us.ibm.com
File Name: test/test_svm_classical.py
Class Name: TestSVMClassical
Method Name: test_classical_multiclass_all_pairs