h0rton.tests.test_trainval_data.test_data_utils

Module Contents

Classes

TestDataUtils “A suite of tests for data utility functions
class h0rton.tests.test_trainval_data.test_data_utils.TestDataUtils(methodName='runTest')[source]

Bases: unittest.TestCase

“A suite of tests for data utility functions

classmethod setUpClass(cls)[source]

Hook method for setting up class fixture before running tests in the class.

test_whiten_pixels(self)[source]

Test the torch pixel whitening vs. numpy

test_asinh(self)[source]

Test the torch asinh approximation vs. numpy

test_plus_1_log(self)[source]

Test the torch log(1+X) vs. numpy

test_rescale_01(self)[source]

Test the torch minmax stretching vs. numpy

test_whiten_Y_cols(self)[source]

Test the Y whitening in pandas vs. numpy