Catalog PyPI
Back to packageRELEASE DETAILS

0.1.3

PyPI

adaptive-neighbourhoods

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

Published24 Jul 2024
Direct dependencies6
Transitive dependenciesNot calculated

README

Version 0.1.3 documentation

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}
}

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 6

Native requirements
6 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
pandas
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.6",
  "evaluation": "NOT_EVALUATED"
}
pandas; extra == "dev"runtime
numpy
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.6",
  "evaluation": "NOT_EVALUATED"
}
numpy; extra == "dev"runtime
requests
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.6",
  "evaluation": "NOT_EVALUATED"
}
requests; extra == "dev"runtime
build
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.6",
  "evaluation": "NOT_EVALUATED"
}
build; extra == "dev"runtime
twine
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.6",
  "evaluation": "NOT_EVALUATED"
}
twine; extra == "dev"runtime
pytest
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.6",
  "evaluation": "NOT_EVALUATED"
}
pytest; extra == "dev"runtime

Distribution files

1 collected
adaptive_neighbourhoods-0.1.3.tar.gz

sdist · 19.36 KB · Python source

Source file

Repository

PENDING
jaypmorgan/adaptive-neighbourhoods

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:07 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:fb2d86dcfb819a0c1d2af7ecde3cf36a9228e06914bea7f2b41407454ffbf1cc

Other collected versions

View all collected versions →