Machine Learning

01/20/2019
mahalanobis-distance-pca

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.
01/03/2019
NIR data correlograms with Seaborn in Python

NIR data correlograms with Seaborn in Python

Exploratory analysis is an essential part of data analysis. Learn a handy way to explore your dataset with NIR data correlograms with Seaborn in Python.
12/03/2018
Classification of NIR spectra by Linear Discriminant Analysis in Python

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.
10/19/2018
Principal Components vs Ridge Regression on NIR data in Python

Principal Components Regression vs Ridge Regression on NIR data in Python

Principal components decomposition is a staple of NIR analysis. Ridge regression is much used of machine learning. How do they relate? Find out in this post
08/19/2018
Exporting NIR regression models built in Python

Exporting NIR regression models built in Python

Three methods to export a Python NIR regression model and how to load it back for future use. Worked Python codes to discuss pros and cons of these methods.
07/04/2018
A variable selection method for PLS in Python

A variable selection method for PLS in Python

Improve the quality of your PLS regression using variable selection. This tutorial will present a variable selection method for PLS in Python.