diff options
author | Frederick Muriuki Muriithi | 2021-11-15 07:58:10 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2021-11-15 07:58:10 +0300 |
commit | 29fc003070b45f61e7ab1048a818201b5beb9298 (patch) | |
tree | 9e8be7a4c7b41d0e61cadf9a1d140fac86f4b425 /tests/unit/__init__.py | |
parent | 7d3929486142481ba0fe36f302845accf8b497ee (diff) | |
download | genenetwork3-29fc003070b45f61e7ab1048a818201b5beb9298.tar.gz |
Fix bugs in recursive partial correlations
* gn3/computations/partial_correlations.py: Remove rounding. Fix computation
of remaining covariates
*
tests/unit/computations/partial_correlations_test_data/pcor_rec_blackbox_test.txt:
reduce the number of covariates to between one (1) and three (3)
* tests/unit/computations/test_partial_correlations.py: fix some minor bugs
It turns out that the computation complexity increases exponentially, with
the number of covariates. Therefore, to get a somewhat sensible test time,
while retaining a large-ish number of tests, this commit reduces the number
of covariates to between 1 and 3.
Diffstat (limited to 'tests/unit/__init__.py')
0 files changed, 0 insertions, 0 deletions