jay-johnson / antinex-utils

Manage and use pre-trained deep neural networks with a common interface for build, compile, fit, evaluate, kfold, cross validate, and predict lifecycle phases using Keras and Tensorflow
http://antinex.readthedocs.io/en/latest/
Apache License 2.0
3 stars 1 forks source link
ai-security anti-nex artificial-intelligence keras tensorflow

AntiNex AI Utilities

Standalone utilities for training AI.

.. image:: https://travis-ci.org/jay-johnson/antinex-utils.svg?branch=master :alt: Travis AntiNex AI Utilities Tests :target: https://travis-ci.org/jay-johnson/antinex-utils

.. image:: https://readthedocs.org/projects/antinex-ai-utilities/badge/?version=latest :alt: Read the Docs AntiNex AI Utilities Tests :target: http://antinex-ai-utilities.readthedocs.io/en/latest/?badge=latest

Used in:

https://github.com/jay-johnson/train-ai-with-django-swagger-jwt

Install

pip install antinex-utils

Development

. Set up the repository

::

    mkdir -p -m 777 /opt/antinex
    git clone https://github.com/jay-johnson/antinex-utils.git /opt/antinex/utils
    cd /opt/antinex/utils

. Set up the virtual env and install

::

    virtualenv -p python3 ~/.venvs/antinexutils && source ~/.venvs/antinexutils/bin/activate && pip install -e .

Testing

Run all

::

python setup.py test

Run a test case

::

python -m unittest tests.test_classification.TestClassification.test_classification_deep_dnn

::

python -m unittest tests.test_regression.TestRegression.test_dataset_regression_using_scaler

AntiNex Stack Status

AntiNex AI Utilities is part of the AntiNex stack:

.. list-table:: :header-rows: 1

Linting

flake8 .

pycodestyle --exclude=.tox,.eggs

License

Apache 2.0 - Please refer to the LICENSE_ for more details

.. _License: https://github.com/jay-johnson/antinex-utils/blob/master/LICENSE