Skip to main content

Python API for generating adapted and unique neighbourhoods for searching for adversarial examples.

Project description

Adaptive Neighbourhoods for the Discovery
of Adversarial Examples

Python API for generating adapted and unique neighbourhoods for searching for adversarial examples

PyPI GitHub license Documentation Status

Installation & usage

This work is released on PyPi. Installation, therefore, is as simple as installing the package with pip:

python3 -m pip install adaptive-neighbourhoods

At this point, you're free to start generating neighbourhoods for your own dataset:

from adaptive_neighbourhoods import epsilon_expand

neighbourhoods = epsilon_expand(
    x,  # your input data
    y)  # the integer encoded labels for your data

Move information on the variable parameters and general guidance on using this package can be found at: https://adaptive-neighbourhoods.readthedocs.io/en/latest/

Contributing

All contributions and feedback are welcome!

There are three main remote mirrors used for hosting this project. If you would like to contribute, please submit an issue/pull-request/patch-request to any of these mirrors:

Citing this work

If you use this work in your research, please consider referencing our article using the following bibtex entry:

@article{DBLP:journals/corr/abs-2101-09108,
  author    = {Jay Paul Morgan and
               Adeline Paiement and
               Arno Pauly and
               Monika Seisenberger},
  title     = {Adaptive Neighbourhoods for the Discovery of Adversarial Examples},
  journal   = {CoRR},
  volume    = {abs/2101.09108},
  year      = {2021},
  url       = {https://arxiv.org/abs/2101.09108},
  eprinttype = {arXiv},
  eprint    = {2101.09108},
  timestamp = {Sat, 30 Jan 2021 18:02:51 +0100},
  biburl    = {https://dblp.org/rec/journals/corr/abs-2101-09108.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

adaptive_neighbourhoods-0.1.3.tar.gz (19.8 kB view details)

Uploaded Source

File details

Details for the file adaptive_neighbourhoods-0.1.3.tar.gz.

File metadata

File hashes

Hashes for adaptive_neighbourhoods-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b000841f351b0e6e3e093f58e94703d8ff90226e792d560d3c114e25f322db14
MD5 e494635b4d4762ddf66bce3564cd82ea
BLAKE2b-256 c085c22d2b72283430d86efa57552e2cefbdba48cf2b81ef9ba4adc6e22d9577

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page