Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
81 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"emotioncf/tests/test_core.py::test_cf_mean": true, | ||
"emotioncf/tests/test_core.py::test_cf_nnmf_multiplicative": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[ | ||
"emotioncf/tests/test_core.py::test_create_sub_by_item_matrix", | ||
"emotioncf/tests/test_core.py::test_cf_mean", | ||
"emotioncf/tests/test_core.py::test_cf_knn", | ||
"emotioncf/tests/test_core.py::test_cf_knn_dil", | ||
"emotioncf/tests/test_core.py::test_cf_nnmf_multiplicative", | ||
"emotioncf/tests/test_core.py::test_cf_nnmf_sgd", | ||
"emotioncf/tests/test_core.py::test_downsample" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '0.0.1' | ||
__version__ = '0.0.2' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
numpy | ||
pandas | ||
pandas >= 0.23.0 | ||
scipy | ||
matplotlib | ||
seaborn | ||
seaborn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,34 @@ | ||
from emotioncf.version import __version__ | ||
from setuptools import setup, find_packages | ||
|
||
version = {} | ||
with open("emotioncf/version.py") as f: | ||
exec(f.read(), version) | ||
|
||
with open('requirements.txt') as f: | ||
requirements = f.read().splitlines() | ||
|
||
extra_setuptools_args = dict( | ||
tests_require=['pytest'] | ||
) | ||
|
||
setup( | ||
name="emotioncf", | ||
version=__version__, | ||
description="Emotion Rating Collaborative Filtering", | ||
description='A Python package for performing Collaborative Filtering on ', | ||
'sparse emotion ratings", | ||
maintainer='Luke Chang', | ||
maintainer_email='luke.j.chang@dartmouth.edu', | ||
url='http://github.com/ljchang/emotionCF', | ||
install_requires=['numpy', 'scipy', 'pandas', 'matplotlib', 'seaborn'], | ||
install_requires=requirements, | ||
packages=find_packages(exclude=['emotioncf/tests']), | ||
license='MIT', | ||
# download_url='https://github.com/ljchang/emotionCF/archive/%s.tar.gz' % | ||
# __version__, | ||
keywords = ['emotion', 'collaborative filtering', 'recommender','machine-learning'], | ||
classifiers = [ | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3.6", | ||
"Operating System :: OS Independent", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: MIT License" | ||
], | ||
**extra_setuptools_args | ||
) | ||
) |