Spectral Matching and Material Identification with Python – Sep, 2018

Spectral Matching and Material Identification with Python – Sep, 2018

I developed a Python project to identify material samples by comparing their measured spectra with reference spectra. I used principal component analysis (PCA) to reduce the dimensionality of the spectral data and explored four matching methods: cosine similarity, Euclidean distance, Minkowski distance, and graph-based similarity.

I also tested three supervised learning models for predicting material labels from spectral data: k-nearest neighbors (KNN), support vector machines (SVM), and logistic regression. The project explored two ways to identify an unknown sample: matching its spectrum against known references and predicting its label with a trained classifier.

Code : https://github.com/cantek41/SpectrumSimilarty