Skip to main content

Artificial Intelligence for Django

Project description

https://badge.fury.io/py/django-ai.svg https://travis-ci.org/math-a3k/django-ai.svg?branch=master https://codecov.io/gh/math-a3k/django-ai/branch/master/graph/badge.svg

Artificial Intelligence for Django

django-ai is a collection of apps for integrating statistical models into your Django project so you can implement machine learning conveniently.

It integrates several libraries and engines providing your Django app with a set of tools so you can leverage the data generated in your project.

/django_ai.jpg

Documentation

The full documentation is at https://django-ai.readthedocs.io or the /docs directory for offline reading.

Quickstart

The easiest way of trying django-ai is inside its package:

  1. Create a virtual environment and activate it:

    python3 -m venv django-ai_env
    source django-ai_env/bin/activate
  2. Install django-ai:

    (django-ai_env) pip install django-ai
  3. Change into the django-ai directory:

    (django-ai_env) cd django-ai_env/lib/python3.5/site-packages/django_ai
  4. Create the migrations for the dependencies and apply them:

    python manage.py makemigrations django_dag
    python manage.py migrate
  5. Create a superuser:

    python manage.py createsuperuser
  6. Start the development server and visit http://127.0.0.1:8000/admin/ to look at the examples and start creating your statistical models:

    python manage.py runserver

Or you can clone it from the repository and install the requirements in a virtualenv:

git clone git@github.com:math-a3k/django-ai.git

and do the same steps, installing the requirements in a virtual environment from requirements.txt

For installing it in your project, please refer here.

Features

  • Bayesian Networks: Integrate Bayesian Networks through your models using the BayesPy framework.

See the Overview section in the documentation for more inforation.

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements_test.txt
(myenv) $ PYTHONHASHSEED=0 python runtests.py

Credits

Tools used in rendering this package:

History

0.0.1 (2017-08-31)

  • First release on PyPI.

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

django-ai-0.0.1b1.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_ai-0.0.1b1-py2.py3-none-any.whl (34.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django-ai-0.0.1b1.tar.gz.

File metadata

  • Download URL: django-ai-0.0.1b1.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-ai-0.0.1b1.tar.gz
Algorithm Hash digest
SHA256 9536507a265894a8d3c8984a83a7cd2d5a3b9c9d653cd5b3a23f6eed3cd89427
MD5 525484923c9cf259735ca5ac1bed38a1
BLAKE2b-256 afca7c1b9eac185f46d7f684bafbc44e829a57a65d5c2c9e45f422b03b1201dd

See more details on using hashes here.

File details

Details for the file django_ai-0.0.1b1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_ai-0.0.1b1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9573977cad0ff593c3ba8bcc7f81c3ed029f711a0af5ce5d5617a892133492d1
MD5 7c42e3dd405854b0af26292811bdcae5
BLAKE2b-256 e98a8728da8853c72f8688d9bb219d4555c3da1a6a22479278577bb9ffbf65af

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page