Skip to content

Releases: SeldonIO/alibi-detect

v0.7.0

07 Jun 11:23
Compare
Choose a tag to compare

v0.7.0 (2021-06-07)

Full Changelog

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

06 May 12:39
Compare
Choose a tag to compare

v0.6.2 (2021-05-06)

Full Changelog

Fixed

  • alibi-detect compatibility with transformers>=4.0.0
  • update slack link to point to alibi-detect channel

v0.6.1

26 Apr 10:46
Compare
Choose a tag to compare

v0.6.1 (2021-04-26)

Full Changelog

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

12 Apr 15:10
Compare
Choose a tag to compare

v0.6.0 (2021-04-12)

Full Changelog

Added

  • Flexible backend support (TensorFlow and PyTorch) for drift detectors MMDDrift and ClassifierDrift as well as support for both frameworks for preprocessing steps (from alibi_detect.cd.tensorflow import HiddenOutput, preprocess_drift and from alibi_detect.models.tensorflow import TransformerEmbedding, replace tensorflow with pytorch for PyTorch support) and various utility functions (kernels and distance metrics) under alibi_detect.utils.tensorflow and alibi_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

05 Mar 18:02
Compare
Choose a tag to compare

v0.5.1 (2021-03-05)

Full Changelog

This is a bug fix release.

Fixed

  • The order of the reference and test dataset for the TabularDrift and ChiSquareDrift was reversed leading to incorrect test statistics
  • The implementation of TabularDrift and ChiSquareDrift were not accounting for the different sample sizes between reference and test datasets leading to incorrect test statistics
  • Bumped required scipy version to 1.3.0 as older versions were missing the alternative keyword argument for ks_2samp function

v0.5.0

18 Feb 15:12
Compare
Choose a tag to compare

v0.5.0 (2021-02-18)

Full Changelog

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

23 Dec 10:49
Compare
Choose a tag to compare

v0.4.4 (2020-12-23)

Full Changelog

Added

  • Remove integrations directory
  • Extend return dict drift detector
  • Update saving/loading functionality of the drift detectors. This leads to a breaking change for load_detector for the KSDrift and MMDDrift detectors.

v0.4.3

08 Oct 09:59
Compare
Choose a tag to compare

v0.4.3 (2020-10-08)

Full Changelog

Added

  • Make Prophet an optional dependency
  • Extend what is returned by the drift detectors to raw scores
  • Add licenses from dependencies

v0.4.2

09 Sep 12:54
Compare
Choose a tag to compare

v0.4.2 (2020-09-09)

Full Changelog

Added

  • Text drift detector functionality for KS and MMD drift detectors
  • Add embedding extraction functionality for pretrained HuggingFace transformers models (alibi_detect.models.embedding)
  • Add Python 3.8 support

v0.4.1

12 May 16:52
Compare
Choose a tag to compare

v0.4.1 (2020-05-12)

Full Changelog

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)