Code for CS613 at Drexel University, For HW1 (Dimensionality Reduction and Clustering)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
graphs
src
tex
.editorconfig
.gitignore
HW1_Student.pdf
Makefile
diabetes.csv
readme.txt
requirements.txt
theory-data.csv

readme.txt

CS613 - HW1 - Alex Lapinski

In order to run the code contained within this homework submission first make sure the following are available.
 * Python 2.7 (but not python 3)
 * Windowing System (Matplotlib doesn't always work well with python virtual environments)
 * make

Then run the following commands using Make:

To setup & install dependencies run one of the following:
    * make
    * pip install -r requirements.txt

To run the PCA example run one of the following (from the hw1 directory):
    * make pca
    * python src/hw1.py --pca --data ./diabetes.csv

To run the KMeans example run one of the following (from the hw1 directory):
    * make kmeans
    * python src/hw1.py --kmeans --data ./diabetes.csv


I've included a help feature of the hw1.py module, just run "python src/hw1.py -h".