diff options
author | Vincent Rouvreau <vincent.rouvreau@inria.fr> | 2022-01-26 08:16:02 +0100 |
---|---|---|
committer | Vincent Rouvreau <vincent.rouvreau@inria.fr> | 2022-01-26 08:16:02 +0100 |
commit | 7cd975bcb4f932372a3abe932d3b22c9ea1ce38a (patch) | |
tree | 3688cb5df0367e2134d88ccc7e53c78e82916bcb /src/python/test/test_representations.py | |
parent | cee14f45b10d8fd4bee78b4323dea650f8d20f11 (diff) | |
parent | 4d27d023c89d6c6ad10b3923c3cdbd9ed5952711 (diff) |
merge master and resolve conflict
Diffstat (limited to 'src/python/test/test_representations.py')
-rwxr-xr-x | src/python/test/test_representations.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/python/test/test_representations.py b/src/python/test/test_representations.py index 93461f1e..d219ce7a 100755 --- a/src/python/test/test_representations.py +++ b/src/python/test/test_representations.py @@ -105,7 +105,6 @@ def test_dummy_atol(): from gudhi.representations.vector_methods import BettiCurve - def test_infinity(): a = np.array([[1.0, 8.0], [2.0, np.inf], [3.0, 4.0]]) c = BettiCurve(20, [0.0, 10.0])(a) @@ -113,7 +112,6 @@ def test_infinity(): assert c[7] == 3 assert c[9] == 2 - def test_preprocessing_empty_diagrams(): empty_diag = np.empty(shape = [0, 2]) assert not np.any(BirthPersistenceTransform()(empty_diag)) @@ -169,3 +167,4 @@ def test_kernel_empty_diagrams(): # PersistenceScaleSpaceKernel(kernel_approx=RBFSampler(gamma=1./2, n_components=100000).fit(np.ones([1,2])))(empty_diag, empty_diag) # PersistenceFisherKernel(bandwidth_fisher=1., bandwidth=1.)(empty_diag, empty_diag) # PersistenceFisherKernel(bandwidth_fisher=1., bandwidth=1., kernel_approx=RBFSampler(gamma=1./2, n_components=100000).fit(np.ones([1,2])))(empty_diag, empty_diag) + |