Description
Project for a computational techniques course taken at UoA. I wrote C++ functions to implement the power and deflation methods for finding eigenpairs / principal components of the coffee dataset. Next, I used Python to visualise the explained variance ratio, found that six principal components could represent the dataset, and reconstructed spectra for both coffee bean types. I projected the dataset onto the six most important principal components to find a pair that provided a good separation of the two coffee bean types.