heart-library


Nameheart-library JSON
Version 0.4.4 PyPI version JSON
download
home_pagehttps://github.com/IBM/heart-library
SummaryHardened Extension of the Adversarial Robustness Toolbox (HEART) supports assessment of adversarial AI vulnerabilities in Test & Evaluation workflows.
upload_time2024-11-04 20:58:17
maintainerNone
docs_urlNone
authorMark Baker, Jordan Fischer, Kieran Fraser, Jackson Lee, Adam Lockwood, Stekunda Henry
requires_python<3.12,>=3.9
licenseMIT
keywords machine learning adversarial ai evasion
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Hardened Extension of the Adversarial Robustness Toolbox (HEART) 

![Static Badge](https://img.shields.io/badge/python-3.9%20--%203.11-blue "Python 3.9 - 3.11 version support.")

HEART is a Python extension library for Machine Learning Security that builds on the popular Adversarial Robustness algorithms within the [Adversarial Robustness Toolbox (ART)](https://github.com/Trusted-AI/adversarial-robustness-toolbox). The extension library allows the user to leverage core ART algorithms while providing additional benefits to AI Test & Evaluation (T&E) engineers. HEART documentation can be found [here](https://heart-library.readthedocs.io/). 

- Support for T&E of models for Department of Defense use cases 
- Alignment to [MAITE](https://github.com/mit-ll-ai-technology/maite) protocols for seamless T&E workflows
- Essential subset of adversarial robustness methods for targeted AI security coverage 
- Quality assurance of model assessments in the form of metadata 
- In-depth support for users based on codified T&E expert experience in form of guides and examples
- Front-end application for low-code users: HEART Gradio Application 

# Installation

### From Python Packaging Index (PyPI)

To install the latest version of HEART from PyPI, run:

```shell
pip install heart-library
```

### From IBM GitHub Source

To install the latest version of HEART from the [heart-library public GitHub](https://github.com/IBM/heart-library), run:

```shell
git clone https://github.com/IBM/heart-library.git
cd heart-library
pip install .
```

### (Optional) Development Environment via Poetry

In some cases, it may be beneficial for developers to set up an environment from a reproducible source of truth.  This environment is useful for developers that wish to work within a pull request or leverage the same development conditions used by HEART contributors.  Please follow the instructions for installation via Poetry within the official HEART repository:

- [Poetry Installation Instructions](https://github.com/IBM/heart-library/blob/main/poetry_installation.md)

# Getting Started With HEART

IBM has published a catalog of notebooks designed to assist developers of all skill levels with the process of getting started utilizing HEART in their AI T&E workflows.  These Jupyter notebooks can be accessed within the official heart-library GitHub repository:

- [HEART Jupyter Notebooks](https://github.com/IBM/heart-library/tree/main/notebooks)

# HEART Modules

The HEART library is organized into three primary modules: attacks, estimators, and metrics.

### heart_library.attacks

> The HEART attacks module contains implementations of attack algorithms for generating adversarial examples and evaluating model robustness.

### heart_library.estimators

> The HEART estimators module contains classes that wrap and extend the evaluated model to make it compatible with attacks and metrics.

### heart_library.metrics

> The HEART metrics module implements industry standard, commonly-used T&E metrics for model evaluation.


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/IBM/heart-library",
    "name": "heart-library",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.12,>=3.9",
    "maintainer_email": null,
    "keywords": "machine learning, adversarial ai, evasion",
    "author": "Mark Baker, Jordan Fischer, Kieran Fraser, Jackson Lee, Adam Lockwood, Stekunda Henry",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/76/3a/78037c4c94e33580cd01a942e61b71e2a1aac018295067aa56905ef8b46f/heart_library-0.4.4.tar.gz",
    "platform": null,
    "description": "# Hardened Extension of the Adversarial Robustness Toolbox (HEART) \n\n![Static Badge](https://img.shields.io/badge/python-3.9%20--%203.11-blue \"Python 3.9 - 3.11 version support.\")\n\nHEART is a Python extension library for Machine Learning Security that builds on the popular Adversarial Robustness algorithms within the [Adversarial Robustness Toolbox (ART)](https://github.com/Trusted-AI/adversarial-robustness-toolbox). The extension library allows the user to leverage core ART algorithms while providing additional benefits to AI Test & Evaluation (T&E) engineers. HEART documentation can be found [here](https://heart-library.readthedocs.io/). \n\n- Support for T&E of models for Department of Defense use cases \n- Alignment to [MAITE](https://github.com/mit-ll-ai-technology/maite) protocols for seamless T&E workflows\n- Essential subset of adversarial robustness methods for targeted AI security coverage \n- Quality assurance of model assessments in the form of metadata \n- In-depth support for users based on codified T&E expert experience in form of guides and examples\n- Front-end application for low-code users: HEART Gradio Application \n\n# Installation\n\n### From Python Packaging Index (PyPI)\n\nTo install the latest version of HEART from PyPI, run:\n\n```shell\npip install heart-library\n```\n\n### From IBM GitHub Source\n\nTo install the latest version of HEART from the [heart-library public GitHub](https://github.com/IBM/heart-library), run:\n\n```shell\ngit clone https://github.com/IBM/heart-library.git\ncd heart-library\npip install .\n```\n\n### (Optional) Development Environment via Poetry\n\nIn some cases, it may be beneficial for developers to set up an environment from a reproducible source of truth.  This environment is useful for developers that wish to work within a pull request or leverage the same development conditions used by HEART contributors.  Please follow the instructions for installation via Poetry within the official HEART repository:\n\n- [Poetry Installation Instructions](https://github.com/IBM/heart-library/blob/main/poetry_installation.md)\n\n# Getting Started With HEART\n\nIBM has published a catalog of notebooks designed to assist developers of all skill levels with the process of getting started utilizing HEART in their AI T&E workflows.  These Jupyter notebooks can be accessed within the official heart-library GitHub repository:\n\n- [HEART Jupyter Notebooks](https://github.com/IBM/heart-library/tree/main/notebooks)\n\n# HEART Modules\n\nThe HEART library is organized into three primary modules: attacks, estimators, and metrics.\n\n### heart_library.attacks\n\n> The HEART attacks module contains implementations of attack algorithms for generating adversarial examples and evaluating model robustness.\n\n### heart_library.estimators\n\n> The HEART estimators module contains classes that wrap and extend the evaluated model to make it compatible with attacks and metrics.\n\n### heart_library.metrics\n\n> The HEART metrics module implements industry standard, commonly-used T&E metrics for model evaluation.\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Hardened Extension of the Adversarial Robustness Toolbox (HEART) supports assessment of adversarial AI vulnerabilities in Test & Evaluation workflows.",
    "version": "0.4.4",
    "project_urls": {
        "Homepage": "https://github.com/IBM/heart-library",
        "Repository": "https://github.com/IBM/heart-library"
    },
    "split_keywords": [
        "machine learning",
        " adversarial ai",
        " evasion"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "33974e8f4c75d2cd3e4c64727f7c439d352b575327ce314c3480697d8f9881cd",
                "md5": "74d677b79efa4f8c93ea6c84d0a613cd",
                "sha256": "7ee6dae1b8a2592801e26d42d2c3e9d8b71ef8d170fbac76b738f0b5c414be36"
            },
            "downloads": -1,
            "filename": "heart_library-0.4.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "74d677b79efa4f8c93ea6c84d0a613cd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.9",
            "size": 33338,
            "upload_time": "2024-11-04T20:58:16",
            "upload_time_iso_8601": "2024-11-04T20:58:16.090635Z",
            "url": "https://files.pythonhosted.org/packages/33/97/4e8f4c75d2cd3e4c64727f7c439d352b575327ce314c3480697d8f9881cd/heart_library-0.4.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "763a78037c4c94e33580cd01a942e61b71e2a1aac018295067aa56905ef8b46f",
                "md5": "f710fe17da5a07dac23b926c26e224ba",
                "sha256": "174465700fdc97cd39f8d435542b61c74c3fedabd1d61669eeaead4ab0a8f83a"
            },
            "downloads": -1,
            "filename": "heart_library-0.4.4.tar.gz",
            "has_sig": false,
            "md5_digest": "f710fe17da5a07dac23b926c26e224ba",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.12,>=3.9",
            "size": 23082,
            "upload_time": "2024-11-04T20:58:17",
            "upload_time_iso_8601": "2024-11-04T20:58:17.926607Z",
            "url": "https://files.pythonhosted.org/packages/76/3a/78037c4c94e33580cd01a942e61b71e2a1aac018295067aa56905ef8b46f/heart_library-0.4.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-04 20:58:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "IBM",
    "github_project": "heart-library",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "heart-library"
}
        
Elapsed time: 0.51277s