-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Evaluations, Estimators and DataSets #1
Conversation
…ls. Add factories as well. Add post hook file persistance for factories
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please address
@@ -0,0 +1,102 @@ | |||
|
|||
.. image:: https://travis-ci.org/fridiculous/django-estimators.svg?branch=master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update links to travis
Django-Estimators | ||
===== | ||
|
||
Django-Estimators helps persist and track machine learning models aka estimators. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update purpose in this doc. perhaps update RST in django estimators as well.
|
||
Django-estimators is on PyPI, so just run: :: | ||
|
||
pip install django-estimators |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
github estimators link
Quick start | ||
----------- | ||
|
||
1. Add "estimators" to your INSTALLED_APPS django setting like this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove installation
Use Cases | ||
--------- | ||
|
||
If you already have the model:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
currently unsupported. focus on evaluation method.
self.X_test, self.estimator) | ||
|
||
|
||
class EvaluationResult(EvaluationMixin, PrimaryMixin, Base): | ||
|
||
"""docstring for EvaluationResult""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add docstring
estimator_id = Column(Integer, ForeignKey('estimator.id')) | ||
X_test_id = Column(Integer, ForeignKey('dataset.id'), nullable=False) | ||
y_test_id = Column(Integer, ForeignKey('dataset.id')) | ||
y_predicted_id = Column(Integer, ForeignKey('dataset.id')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nullable=False
@@ -0,0 +1,17 @@ | |||
# no fixtures are needs at the moment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove comment
return db | ||
|
||
db = create_db() | ||
db_session = db.Session |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try to get rid of dependancies
obj = EstimatorFactory().estimator | ||
X_train = DataSetFactory(shape=(100, 3)).data | ||
y_train = DataSetFactory().data | ||
obj.fit(X_train, y_train) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove fitted. test different combos of setting vars
👍 |
No description provided.