Skip to content

Commit

Permalink
initial pypi release
Browse files Browse the repository at this point in the history
  • Loading branch information
thededlier committed May 23, 2020
1 parent 6cba552 commit 181549b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 10 deletions.
1 change: 1 addition & 0 deletions auto_surprise/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ def start_with_limits(self, max_evals, time_limit, tasks):
}

except Exception as e:
print("Exception for algo ", self._algo_name)
print(traceback.format_exc())

if self._debug:
Expand Down
6 changes: 2 additions & 4 deletions examples/ml_100k.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
import datetime
import os
import sys

sys.path.insert(1, './')

from surprise import Dataset
from auto_surprise.engine import Engine

if __name__ == '__main__':

data = Dataset.load_builtin('ml-100k')

# Run auto surprise
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[metadata]
description-file = README.md
17 changes: 11 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
import setuptools

# default required packages
install_requires = ['hyperopt', 'scikit-surprise']
install_requires = [
"hyperopt",
"lightgbm",
"numpy",
"scikit-learn==0.22.0",
"scikit-surprise"
]

with open("README.md", "r") as fh:
long_description = fh.read()

setuptools.setup(
name="auto-surprise",
packages="auto-surprise",
version="0.0.1",
version="0.1.0",
author="Rohan Anand",
author_email="anandr@tcd.ie",
description="A python package that automates machine learning for the recommender system library Surprise",
description="A python package that automates algorithm selection and hyperparameter tuning for the recommender system library Surprise",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/thededlier/auto-surprise",
url="https://github.com/BeelGroup/Auto-Surprise",
download_url="https://github.com/BeelGroup/Auto-Surprise/archive/v0.1.0.tar.gz",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
Expand Down

0 comments on commit 181549b

Please sign in to comment.