Skip to content

Commit

Permalink
Release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fridiculous committed Dec 2, 2016
1 parent 8a60498 commit 28400e9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,12 @@ Quick start
2. To create the estimators table, run
::

python manage.py migrate

3. Run ``python manage.py shell`` and get create new models like so
::

from sklearn.ensemble import RandomForestClassifier
rfc = RandomForestClassifier()
Expand Down Expand Up @@ -162,7 +164,7 @@ And you can view all the atributes on the evaluation result


Using with Jupyter Notebook (or without a django app)
---------------------------------------------
-----------------------------------------------------

Django-Estimators can run as a standalone django app.In order to have access to the django db, you'll need to set up the environment variable to load up your django project. In ipython, by default you can set the environment variable ``DJANGO_SETTINGS_MODULE`` to ``estimators.template_settings`` like so
::
Expand All @@ -172,7 +174,7 @@ Django-Estimators can run as a standalone django app.In order to have access to
os.environ['DJANGO_SETTINGS_MODULE'] = "estimators.template_settings"
django.setup()

If you're creating a new database (by default it's ``db.sqlite3``), in python, you'll need to run
If you're creating a new database (by default it's ``db.sqlite3``). Therefore we need to run migrations, so in python
::

from django.core.management import call_command
Expand Down
3 changes: 3 additions & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ coverage==4.2
coveralls==1.1
factory-boy==2.7.0
# isort==4.2.5
invoke==0.13.0
numpy==1.11.1
pytest==3.0.3
pytest-cov==2.4.0
Expand All @@ -10,3 +11,5 @@ pytest-xdist==1.15.0
scikit-learn==0.17.1
scipy==0.18.1
tox==2.3.1
twine==1.8.1
wheel==0.29.0
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

setup(
name='django-estimators',
version='0.1.0.dev',
version='0.2.0',
packages=find_packages(),
include_package_data=True,
install_requires=reqs,
Expand Down Expand Up @@ -46,5 +46,7 @@
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Version Control',
],
keywords='scikit-learn, machine learning, ml, estimators, version control'
keywords='''scikit-learn, sklearn, machine learning, artificial intelligence, ml,
ai, estimators, version, versioning, benchmark, persist, storage, track, models,
repository, evaluation, workflow'''
)

0 comments on commit 28400e9

Please sign in to comment.