Skip to content

Commit

Permalink
Remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
agitter committed Sep 10, 2024
1 parent 8188a12 commit 1bf6bb7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/ml/test_ml.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import filecmp
import random
from pathlib import Path

import pandas as pd
Expand Down Expand Up @@ -77,7 +76,7 @@ def test_pca_robustness(self):
assert coord.equals(expected)

for _ in range(5):
dataframe_shuffled = dataframe.sample(frac=1, axis=0) # permute the rows
dataframe_shuffled = dataframe.sample(frac=1, axis=0) # permute the rows
ml.pca(dataframe_shuffled, OUT_DIR + 'pca-shuffled-rows.png', OUT_DIR + 'pca-shuffled-rows-variance.txt',
OUT_DIR + 'pca-shuffled-rows-coordinates.tsv')
coord = pd.read_table(OUT_DIR + 'pca-shuffled-rows-coordinates.tsv')
Expand Down

0 comments on commit 1bf6bb7

Please sign in to comment.