cae696567b951907e79c5d32e0f14f8f626f7fe6,regtests/mbtr.py,MBTRTests,test_symmetries,#MBTRTests#,404
Before Change
)
// Rotational check
molecule = H2O.copy()
features = desc.create(molecule)
for rotation in ["x", "y", "z"]:
molecule.rotate(45, rotation)
rot_features = desc.create(molecule)
deviation = np.max(np.abs(features - rot_features))
self.assertTrue(deviation < 1e-6)
// Translation check
for translation in [[1.0, 1.0, 1.0], [-5.0, 5.0, -5.0], [1.0, 1.0, -10.0]]:
After Change
self.assertTrue(self.is_rotationally_symmetric(desc))
// Translational
self.assertTrue(self.is_translationally_symmetric(desc))
// Permutational
self.assertTrue(self.is_permutation_symmetric(desc))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: SINGROUP/dscribe
Commit Name: cae696567b951907e79c5d32e0f14f8f626f7fe6
Time: 2018-07-31
Author: lauri.himanen@aalto.fi
File Name: regtests/mbtr.py
Class Name: MBTRTests
Method Name: test_symmetries
Project Name: SINGROUP/dscribe
Commit Name: cae696567b951907e79c5d32e0f14f8f626f7fe6
Time: 2018-07-31
Author: lauri.himanen@aalto.fi
File Name: regtests/coulombmatrix.py
Class Name: CoulombMatrixTests
Method Name: test_symmetries
Project Name: automl/auto-sklearn
Commit Name: 679e77b78f7ba906cd2e6aa18366fa8facd153db
Time: 2017-02-11
Author: feurerm@informatik.uni-freiburg.de
File Name: test/test_evaluation/test_abstract_evaluator.py
Class Name: AbstractEvaluatorTest
Method Name: test_finish_up_model_predicts_NaN