- Install Python 3.9.9. Install
numpy
,pandas
,matplotlib
,scipy
,sklearn
, andgap-stat
- Preprocess the data by running
python3 preprocess.py yeast.tsv data.pkl
- Cluster using k-means by running
python3 kmeans.py data.pkl clusters.pkl
a. Change k inkmeans.py
- Cluster using Gaussian mixture model by running
python3 gmm.py data.pkl clusters.pkl
a. Change k ingmm.py
- Plot within sum of squares by running
python3 plot_wss.py
a. Change wss values inplot_wss.py
- Plot gap statistic by running
python3 python3 gap.py
- Plot clusters by running
python3 plot_clusters.py
a. Change the filenames of the clusters inplot_clusters.py
-
Notifications
You must be signed in to change notification settings - Fork 0
brandonlou/Gene_Clustering
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.