ace.tests package

Submodules

ace.tests.test_ace module

Unit tests for ACE methods.

These implicitly cover the SuperSmoother as well, but they don’t validate it.

class ace.tests.test_ace.TestAce(methodName='runTest')[source]

Bases: unittest.case.TestCase

Methods

setUp()[source]
test_compute_error()[source]
test_compute_sorted_indices()[source]
test_error_is_decreasing()[source]
test_sort_vector()[source]
test_unsort_vector()[source]
test_update_x_transforms()[source]
test_update_y_transform()[source]

ace.tests.test_model module

Unit tests for ace model.

class ace.tests.test_model.TestModel(methodName='runTest')[source]

Bases: unittest.case.TestCase

Methods

setUp()[source]
tearDown()[source]
test_build_model_from_xy()[source]
test_eval_1d()[source]
test_eval_multiple()[source]
test_read_column_data_from_txt()[source]
test_smaller_dataset()[source]

ace.tests.test_smoother module

Smoother unit tests

class ace.tests.test_smoother.TestSmoother(methodName='runTest')[source]

Bases: unittest.case.TestCase

Methods

setUp()[source]
test_advance_window()[source]
test_compute_cross_validated_residual_here()[source]
test_compute_smooth_during_construction()[source]
test_mean()[source]
test_mean_on_addition_of_observation()[source]

Make sure things work when we add an observation

test_mean_on_removal_of_observation()[source]

Make sure things work when we remove an observation

test_variance_on_addition_of_observation()[source]

Make sure variance and covariance work when we remove an observation quickly

test_variance_on_removal_of_observation()[source]

Make sure variance and covariance work when we remove an observation quickly

Module contents

Unit test suite for ace

Table Of Contents

This Page