c6c619167cb00575fea16299f07d04c15096b56b,regtests/derivatives.py,SoapDerivativeComparisonTests,test_analytical_vs_numerical_L9,#SoapDerivativeComparisonTests#,397
Before Change
print("difference")
pp(diff)
pp(np.abs(diff).sum())
print(diff.max(), diff.min())
print("AAA")
if __name__ == "__main__":
After Change
derivatives_cpp, d_num = soap.derivatives(H2, positions=positions, method="numerical")
derivatives_anal, d_anal = soap.derivatives(H2, positions=positions, method="analytical")
//_print_diff(derivatives_cpp, derivatives_anal)
self.assertTrue(np.allclose(derivatives_cpp, derivatives_anal))
if __name__ == "__main__":
suites = []
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: SINGROUP/dscribe
Commit Name: c6c619167cb00575fea16299f07d04c15096b56b
Time: 2020-11-18
Author: marc-hunter@gmx.de
File Name: regtests/derivatives.py
Class Name: SoapDerivativeComparisonTests
Method Name: test_analytical_vs_numerical_L9
Project Name: SINGROUP/dscribe
Commit Name: c6c619167cb00575fea16299f07d04c15096b56b
Time: 2020-11-18
Author: marc-hunter@gmx.de
File Name: regtests/derivatives.py
Class Name: SoapDerivativeComparisonTests
Method Name: test_analytical_crossover
Project Name: zsdonghao/text-to-image
Commit Name: 559342a0aca96ac8bdf3fc0461b37877550539d6
Time: 2017-01-28
Author: dhsig552@163.com
File Name: train_uim2im.py
Class Name:
Method Name: main_train_imageEncoder
Project Name: BindsNET/bindsnet
Commit Name: 0248213794721cc239a3b48976cfbf78d771fca8
Time: 2018-11-28
Author: djsaunde@umass.edu
File Name: bindsnet/encoding/__init__.py
Class Name:
Method Name: rank_order