From 18ca3a38ebbf8de7d715748fe84f4a8429f2e04c Mon Sep 17 00:00:00 2001 From: Louis Date: Mon, 22 Dec 2025 14:09:39 +0100 Subject: [PATCH] Adding requirements and draft for using sparseBM package --- requirements.txt | 5 +++++ sparselbm_full_mat.py | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 requirements.txt create mode 100644 sparselbm_full_mat.py diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..9061c02 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +cupy +sparsebm +numpy +pandas +matplotlib \ No newline at end of file diff --git a/sparselbm_full_mat.py b/sparselbm_full_mat.py new file mode 100644 index 0000000..6f9cae8 --- /dev/null +++ b/sparselbm_full_mat.py @@ -0,0 +1,5 @@ +import numpy as np +import pandas as pd + +# Load matrix from csv file +pd.read_csv("data/otu_matrix.csv.zip", compression="zip", index_col=0).to_numpy() \ No newline at end of file