877da731f2447d979ccc2312734d1d7b190e37c2,regtests/soap.py,SoapTests,test_crossover,#SoapTests#,134

Before Change


        desc.crossover = False
        partial_output = desc.create(H2O)
        print(full_output[0, :])
        print(partial_output[0, :])
        // self.assertTrue(np.array_equal(full_output[:, 0:n_elem_feat], partial_output[:, 0:n_elem_feat]))
        // self.assertTrue(np.array_equal(full_output[:, 2*n_elem_feat:], partial_output[:, n_elem_feat:]))

After Change


                [0.0, 0.0, 1.0]
            ],
            positions=[
                [0, 0, 0],
                [0.95, 0, 0],
                [0.95*(1+math.cos(76/180*math.pi)), 0.95*math.sin(76/180*math.pi), 0.0]
            ],
            symbols=["H", "O", "H"],
        )
        // v1 = desc.create(system, positions=[1])
        // print(v1)
        v1 = desc.create(system, positions=[[0.95, 0.1, 0.0]])
        print(v1)

        // desc = SOAP(species=[1, 8], rbf="polynomial", crossover=True, rcut=3, nmax=1, lmax=0, periodic=False)
        // n_elem_feat = desc.get_number_of_element_features()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: SINGROUP/dscribe
Commit Name: 877da731f2447d979ccc2312734d1d7b190e37c2
Time: 2019-12-17
Author: lauri.himanen@aalto.fi
File Name: regtests/soap.py
Class Name: SoapTests
Method Name: test_crossover


Project Name: SINGROUP/dscribe
Commit Name: 4953bd16ff9135a11f30d62ca4671013125e4daf
Time: 2021-02-05
Author: lauri.himanen@gmail.com
File Name: regtests/lmbtr.py
Class Name: LMBTRTests
Method Name: test_parallel_sparse


Project Name: SINGROUP/dscribe
Commit Name: 4953bd16ff9135a11f30d62ca4671013125e4daf
Time: 2021-02-05
Author: lauri.himanen@gmail.com
File Name: regtests/lmbtr.py
Class Name: LMBTRTests
Method Name: test_parallel_dense