Releases: SeldonIO/alibi-detect
Releases · SeldonIO/alibi-detect
v0.7.0
v0.7.0 (2021-06-07)
Added
- Least squares density difference drift detector
from alibi_detect.cd import LSDDDrift
with TensorFlow and PyTorch support. - Online versions of the MMD and LSDD drift detectors:
from alibi_detect.cd import MMDDriftOnline, LSDDDriftOnline
with TensorFlow and PyTorch support. - Enable Python 3.9 support.
Fixed
- Hidden layer output as preprocessing step for drift detectors for internal layers with higher dimensional shape, e.g.
(B, C, H, W)
.
v0.6.2
v0.6.1
v0.6.1 (2021-04-26)
Added
- Classification and regression model uncertainty drift detectors for both PyTorch and TensorFlow models:
from alibi_detect.cd import ClassifierUncertaintyDrift, RegressorUncertaintyDrift
. - Return p-values for
ClassifierDrift
detectors using either a KS test on the classifier's probabilities or logits. The model predictions can also be binarised and a binomial test can be applied. - Allow unseen categories in the test batches for the categorical and tabular drift detectors:
from alibi_detect.cd import ChiSquareDrift, TabularDrift
.
v0.6.0
v0.6.0 (2021-04-12)
Added
- Flexible backend support (TensorFlow and PyTorch) for drift detectors
MMDDrift
andClassifierDrift
as well as support for both frameworks for preprocessing steps (from alibi_detect.cd.tensorflow import HiddenOutput, preprocess_drift
andfrom alibi_detect.models.tensorflow import TransformerEmbedding
, replacetensorflow
withpytorch
for PyTorch support) and various utility functions (kernels and distance metrics) underalibi_detect.utils.tensorflow
andalibi_detect.utils.pytorch
. - Significantly faster implementation MMDDrift detector leveraging both GPU implementations in TensorFlow and PyTorch as well as making efficient use of the cached kernel matrix for the permutation tests.
- Change test for
ChiSquareDrift
from goodness-of-fit of the observed data against the empirical distribution of the reference data to a test for homogeneity which does not bias p-values as much to extremes. - Include NumpyEncoder in library to facilitate json serialization.
Removed
- As part of the introduction of flexible backends for various drift detectors, dask is no longer supported for the
MMDDrift
detector and distance computations.
Fixed
- Update RTD theme version due to rendering bug.
- Bug when using
TabularDrift
with categorical features and continuous numerical features. Incorrect indexing of categorical columns was performed.
Development
- Pin pystan version to working release with prophet.
v0.5.1
v0.5.1 (2021-03-05)
This is a bug fix release.
Fixed
- The order of the reference and test dataset for the
TabularDrift
andChiSquareDrift
was reversed leading to incorrect test statistics - The implementation of
TabularDrift
andChiSquareDrift
were not accounting for the different sample sizes between reference and test datasets leading to incorrect test statistics - Bumped required
scipy
version to1.3.0
as older versions were missing thealternative
keyword argument forks_2samp
function
v0.5.0
v0.5.0 (2021-02-18)
Added
- Chi-square drift detector for categorical data:
alibi_detect.cd.chisquare.ChiSquareDrift
- Mixed-type tabular data drift detector:
alibi_detect.cd.tabular.TabularDrift
- Classifier-based drift detector:
alibi_detect.cd.classifier.ClassifierDrift
Removed
- DataTracker utility
Development
- Docs build improvements, dependabot integration, daily build cronjob
v0.4.4
v0.4.3
v0.4.2
v0.4.1
v0.4.1 (2020-05-12)
Added
- Likelihood ratio outlier detector (
alibi_detect.od.llr.LLR
) with image and genome dataset examples - Add genome dataset (
alibi_detect.datasets.fetch_genome
) - Add PixelCNN++ model (
alibi_detect.models.pixelcnn.PixelCNN
)