Skip to main content

TrojAI model and dataset generation library

Project description

Overview

This is the top-level TrojAI module. It contains two submodules: datagen and modelgen. datagen contains the necessary API functions to quickly generate synthetic data that could be used for training machine learning models. The modelgen module contains the necessary API functions to quickly generate DNN models from the generated data.

Installation

Any necessary Python dependencies are captured in the requirements.txt file. It is recommended to install the dependencies into a dedicated virtual environment. After creating and activating a virtual environment via Anaconda or Python3, the commmand pip install -r requirements.txt will setup the environment with the necessary dependencies required.

Getting Started

  1. Check the datagen README to learn more about the data generation API.
  2. Check the datagen scripts directory for examples on using the data generation API to generate data.
  3. Check the modelgen README to learn more about the model generation API.
  4. Check the modelgen scripts directory for examples on using the model generation API to generate models.

Repository Organization

trojai
|   setup.py - Script to install trojai module into Python environment
|   requirements.txt - A list of Python dependencies for pip
│   developers - information for developers
│   scripts
    └───datagen - integration scripts showcasing datagen API functionality
    └───modelgen - integration scripts showcasing modelgen API functionality
└───trojai - top level Python module
    └───datagen - data generation submodule
    └───modelgen - data generation submodule
    └───test - top level scripts directory
        └───datagen - contains unittests for the datagen submodule
        └───modelgen - contains unittests for the modelgen submodule

Acknowledgements

This research is based upon work supported in part by the Office of the Director of National Intelligence (ODNI), Intelligence Advanced Research Projects Activity (IARPA). The views and conclusions contained herein are those of the authors and should not be interpreted as necessarily representing the official policies, either expressed or implied, of ODNI, IARPA, or the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints for governmental purposes notwithstanding any copyright annotation therein.

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

trojai-0.2.3.tar.gz (63.8 kB view details)

Uploaded Source

Built Distribution

trojai-0.2.3-py3-none-any.whl (95.7 kB view details)

Uploaded Python 3

File details

Details for the file trojai-0.2.3.tar.gz.

File metadata

  • Download URL: trojai-0.2.3.tar.gz
  • Upload date:
  • Size: 63.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for trojai-0.2.3.tar.gz
Algorithm Hash digest
SHA256 8a9585e1e351243fb6e2569889a78c8d036178d57fc322f8e60f97e34330538d
MD5 ab6b5d71f6b52310a206cfc2c92e0888
BLAKE2b-256 f787426c10f7ee5594963117b0ac7e90bfc27d5197698c8076b8c8d6637873dd

See more details on using hashes here.

Provenance

File details

Details for the file trojai-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: trojai-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 95.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for trojai-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3b07a9c8eed83db3d144e6ea2bdab18c257479dcfa12c842faf0c4e16152ee8a
MD5 3da2500181986ea3f1a168cd34d15e8b
BLAKE2b-256 f43e2d7ec512644174458b2e6aee59367249a996762b6e60f68d0c11f08bde09

See more details on using hashes here.

Provenance

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