awslabs / awslabs/python-deequ
Distance analyzer for detecting feature drift with PyDeequ
- Dominant language
- Jupyter Notebook
- Stars
- 826
- Forks
- 158
- Avg merge
- 9d 22h
- Merged PRs (30d)
- 3
Description
**Is your feature request related to a problem? Please describe.**
It looks like in PyDeequ 1.1.1 the [Deequ distance analyzer](/awslabs/deequ/blob/master/src/main/scala/com/amazon/deequ/analyzers/Distance.scala) is not available. It means that this type of analyzer cannot be run via PyDeequ.
**Describe the solution you'd like**
I'd like to run the distance analysis on my data, so that I can detect feature drift via the 2 methods currently available in Deequ (L-infinity and chi-squared). I'd like to be able to do this in the same way as with the other analyzers.
Are there any plans to add this analyzer in the future?
**Describe alternatives you've considered**
I've read the [documentation](/awslabs/python-deequ/blob/master/docs), but couldn't find anything related to the distance analyzer.
As a hacky workaround, I experimented with invoking the [numericalDistance()](/awslabs/deequ/blob/master/src/main/scala/com/amazon/deequ/analyzers/Distance.scala#L56) method directly with Py4J, but found that instantiating a Scala object of [QuantileNonSample[Double]](https://github.com/awslabs/deequ/blob/master/src/main/scala/com/amazon/deequ/analyzers/QuantileNonSample.scala#L25) doesn't seem to be a straightforward thing to do in Python.
Contributor guide
Assessment
This issue has not been assessed yet.