e45ce5f127a491192f340818c7c39f98af8d5156,umap/tests/test_umap_validation_params.py,,test_umap_inverse_transform_fails_expectedly,#,273
Before Change
assert_raises(ValueError, u.inverse_transform, u.embedding_[:10])
u = UMAP(metric="dice", n_epochs=11)
u.fit(nn_data[:100])
assert_raises(ValueError, u.inverse_transform, u.embedding_[:10])
After Change
u.inverse_transform(u.embedding_[:10])
u = UMAP(metric="dice", n_epochs=11)
u.fit(nn_data[:100])
with pytest.raises(ValueError):
u.inverse_transform(u.embedding_[:10])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: lmcinnes/umap
Commit Name: e45ce5f127a491192f340818c7c39f98af8d5156
Time: 2021-02-09
Author: valerio.maggio@gmail.com
File Name: umap/tests/test_umap_validation_params.py
Class Name:
Method Name: test_umap_inverse_transform_fails_expectedly
Project Name: lmcinnes/umap
Commit Name: 168797e927de822693a77164b93a565f6d0e4468
Time: 2021-02-09
Author: valerio.maggio@gmail.com
File Name: umap/tests/test_densmap.py
Class Name:
Method Name: test_densmap_trustworthiness_on_iris