Skip to content

A lightweight implementation of PERMANOVA based on Euclidean distance from centroid

Notifications You must be signed in to change notification settings

AndreaZoccatelli/light_permanova

Repository files navigation

LightPERMANOVA

A lightweight implementation of PERMANOVA based on Euclidean distance from centroid.

Overview

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 $$\mu$$’s are equal; H1: at least one pair of $$\mu$$’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 $$s_0$$ used at time $$t_0$$ to train the model with a new, unseen sample $$s_1$$ on which the model made predictions at time $$t_1$$.

Useful links

Read the docs here.

This project is part of "Root.".

About

A lightweight implementation of PERMANOVA based on Euclidean distance from centroid

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published