Skip to content

Commit

Permalink
Update test_edge_selection.py
Browse files Browse the repository at this point in the history
  • Loading branch information
juri-debug authored Aug 29, 2024
1 parent 93206b5 commit 33f913f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_edge_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@

from scipy.stats import pearsonr, spearmanr, t

from cpm.simulate_data import simulate_data
from cpm.simulate_data import simulate_regression_data
from cpm.edge_selection import (pearson_correlation_with_pvalues, spearman_correlation_with_pvalues,
semi_partial_correlation_pearson, semi_partial_correlation_spearman)


class TestEdgeStatistics(unittest.TestCase):
def setUp(self):
super(TestEdgeStatistics, self).setUp()
self.X, self.y, self.covariates = simulate_data(n_samples=100, n_features=45)
self.X, self.y, self.covariates = simulate_regression_data(n_samples=100, n_features=45)

def test_cpm_pearson(self):
"""Test CPM implementation of Pearson correlation with p-values"""
Expand Down

0 comments on commit 33f913f

Please sign in to comment.