=========
.. image:: https://badge.fury.io/py/django-ai.svg :target: https://badge.fury.io/py/django-ai
.. image:: https://travis-ci.org/math-a3k/django-ai.svg?branch=master :target: https://travis-ci.org/math-a3k/django-ai
.. image:: https://codecov.io/gh/math-a3k/django-ai/branch/master/graph/badge.svg :target: https://codecov.io/gh/math-a3k/django-ai
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.
.. image:: http://django-ai.readthedocs.io/en/latest/_images/django_ai.jpg :target: https://django-ai.readthedocs.io/en/latest/introduction.html
The full documentation is at https://django-ai.readthedocs.io or the /docs
directory for offline reading.
Bayesian Networks <https://django-ai.readthedocs.io/en/latest/apps/bayesian_networks.html >
: Integrate Bayesian Networks through your models using the BayesPy framework <http://bayespy.org/>
.
Spam Filtering <https://django-ai.readthedocs.io/en/latest/apps/spam_filtering.html>
: Integrate Spam Filters to your Django project using the scikit-learn framework <http://scikit-learn.org>
.
Bayesian Networks: Integrate Bayesian Networks through your models using the BayesPy framework <http://bayespy.org/>
_.
See the Introduction <https://django-ai.readthedocs.io/en/latest/introduction.html>
_ section in the documentation for more information.
The easiest way of trying django-ai
is inside its package:
Create a virtual environment and activate it::
python3 -m venv django-ai_env source django-ai_env/bin/activate
Upgrade pip
and install django-ai
::
(django-ai_env) pip install --upgrade pip (django-ai_env) pip install django-ai
Change into the django-ai
directory, i.e.::
(django-ai_env) cd django-ai_env/lib/python3.5/site-packages/django_ai
Create the migrations for the dependencies and apply them::
python manage.py makemigrations python manage.py migrate
Create a superuser::
python manage.py createsuperuser
Start the development server and visit http://127.0.0.1:8000/admin/, look at the examples and start creating your statistical models::
python manage.py runserver
You can also clone it from the repository and install the requirements in a virtualenv::
git clone git@github.com:math-a3k/django-ai.git
and following the previous steps, install the requirements - pip install -r requirements.txt
- in a virtual environment instead of the package.
For installing it in your project, please refer here <https://django-ai.readthedocs.io/en/latest/installation.html>
_.
Does the code actually work?
::
source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements_test.txt
(myenv) $ PYTHONHASHSEED=0 python runtests.py
Version | Tag | Published |
---|---|---|
0.0.2.1 | 5yrs ago | |
0.0.2 | 5yrs ago | |
0.0.1 | 5yrs ago | |
0.0.1b1 | 5yrs ago |