# Category: Classification

## Robust PCA

A implementation of robust PCA, useful when the data contains outliers.

## Multi-class classification for NIR spectroscopy: the very basics

Multi-class classification aims and subdividing samples into one of multiple predefined categories. In this post we explore a basic classifier and discuss important metrics such as accuracy and AUC …

## The PCA correlation circle

The PCA correlation circle is a useful tool to visually display the correlation between spectral bands and principal components. The correlation can be quantified through the Euclidean distance and …

## PCA and kernel PCA explained

Gain a practical understanding of PCA and kernel PCA by learning to code the algorithms and test it on real spectroscopic data.

## Binary classification of spectra with a single perceptron

The perceptron is a basic block of feed-forward neural networks. Learn how to use a single perceptron for binary classification of NIR spectra using gradient descent

## PLS Discriminant Analysis for binary classification in Python

PLS Discriminant analysis is a variation of PLS able to deal with classification problems. Here's a tutorial on binary classification with PLS-DA in Python

## Detecting outliers using the Mahalanobis distance with PCA in Python

How do we make sure we are detecting only true outliers and not cherry-picking from the data? Here's a method based on the Mahalanobis distance with PCA.

## Classification of NIR spectra by Linear Discriminant Analysis in Python

What is Linear Discriminant Analysis and how it differs from PCA? Let's talk trough LDA and build a NIR spectra classifier using LDA in Python.

## Classification of NIR spectra using Principal Component Analysis in Python

An in-depth tutorial on how to run a classification of NIR spectra using Principal Component Analysis in Python. Step by step example with code.

## NIR classification of macadamia kernels

Can we use NIR analysis to grade macadamias? Check out our preliminary results of NIR classification of macadamia kernels using Principal Component Analysis.

## The cricket thermometer: an introduction to Principal Component Analysis in Python

A worked example for an introduction to Principal Component Analysis in Python.