Skip to content
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

Merged
merged 20 commits into from
Oct 28, 2016

Conversation

fridiculous
Copy link
Owner

No description provided.

Copy link
Owner Author

@fridiculous fridiculous left a 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
Copy link
Owner Author

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.
Copy link
Owner Author

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
Copy link
Owner Author

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
Copy link
Owner Author

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::
Copy link
Owner Author

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"""
Copy link
Owner Author

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'))
Copy link
Owner Author

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
Copy link
Owner Author

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
Copy link
Owner Author

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)
Copy link
Owner Author

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

@fridiculous fridiculous changed the title Add Basic Template with Factories Add Evaluations, Estimators and DataSets Oct 28, 2016
@fridiculous
Copy link
Owner Author

👍

@fridiculous fridiculous merged commit b502b6f into master Oct 28, 2016
@fridiculous fridiculous deleted the feature/persisted_evaluations branch October 28, 2016 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant