LightPERMANOVA
Last updated
Last updated
A lightweight implementation of PERMANOVA based on Euclidean distance from centroid.
One known problem of machine learning models in production that affects their predictive ability is covariate shift. It is defined as a change in the distribution of one or more independent variables used to train the model.
ANOVA is often adopted to assess if two samples are from the same population by comparing the variance of their means (H0: all ’s are equal; H1: at least one pair of ’s are not equal). This test relies, however, on the normality assumption of the samples, which makes it a non-viable solution to effectively monitor batches of data.
PERMANOVA is a multivariate version of ANOVA based on the pseudo-F statistic, which makes use of permutations, allowing for a non-parametric estimation.
In the case of covariates shift monitoring, the test compares the original sample used at time to train the model with a new, unseen sample on which the model made predictions at time .
Read the docs here.
This project is part of "Root.".