Skip to content

Commit

Permalink
Fixed typo in test test_scale_descale_identity
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Rodríguez Flores committed Feb 1, 2024
1 parent b8318c3 commit 8899942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/tests/test_outliers.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def test_flatten_slice_identity(self):

def test_scale_descale_identity(self):
np.random.seed(0)
rand_data = np.random.rand(32, len(TestAutoencoder.columns))
rand_data = np.random.rand(32, len(self.autoencoder.columns))
rescaled_data = self.autoencoder.rescale(rand_data.copy())
descaled_data = self.autoencoder.descale(rescaled_data)
self.assertTrue(np.allclose(descaled_data, rand_data))
Expand Down

0 comments on commit 8899942

Please sign in to comment.