TrojAI model and dataset generation library
Project description
Overview
This is the top-level TrojAI module. Currently, it contains one submodule: datagen
.
datagen
contains the necessary API functions to quickly generate synthetic data that could be used for training machine learning models. In the near future, we will add a modelgen
module, which 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
- Check the
datagen
README to learn more about the data generation API. - Check the
datagen
scripts directory for examples on using the data generation API to generate data. - 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file trojai-0.2.2.tar.gz
.
File metadata
- Download URL: trojai-0.2.2.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c36648f2772c683c476dfcfeffbcf2904802e505a0d2d797101ccbc41c23f38 |
|
MD5 | 612199a70685d9762c82492fe443e83b |
|
BLAKE2b-256 | 78e67fd89369d1aa80e890ab23a5d1863371c0de28432504820745550207de48 |
Provenance
File details
Details for the file trojai-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: trojai-0.2.2-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab021723760df6b23dfc5f46a2c79355da356acc1d6a9b1cdf93f816156e5e23 |
|
MD5 | 1f85cd5a567718aa4af5f4d97a5e1553 |
|
BLAKE2b-256 | 67cc44bd92315664324be90eb9b52e7bd8cd3ff7e23fe68db91f977b816d4b0a |