This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ------------------------------------------------------------------------- | |
# AUTHOR: Jesus Macias | |
# FILENAME:pca.py | |
# SPECIFICATION: Applying PCA to heart disease dataset | |
# FOR: CS 4440 (Data Mining) - Assignment #2 | |
# TIME SPENT: 3 hours | |
# -----------------------------------------------------------*/ | |
# importing some Python libraries | |
import numpy as np |