Skip to content

Commit

Permalink
added info for fitting to decimal values
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cortes committed Oct 25, 2018
1 parent ea0f56d commit d3ecf1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions hpfrec/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ def _process_data(self, input_df):
msg = "'counts_df' contains observations with a count value less than 1, these will be ignored."
msg += " Any user or item associated exclusively with zero-value observations will be excluded."
msg += " If using 'reindex=False', make sure that your data still meets the necessary criteria."
msg += " If you still want to use these observations, set 'stop_crit' to 'diff-norm' or 'maxiter'."
warnings.warn(msg)
input_df = input_df.loc[~obs_zero]

Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,11 @@ def build_extensions(self):
'scipy',
'cython'
],
version = '0.2.2.4',
version = '0.2.2.5',
description = 'Hierarchical Poisson matrix factorization for recommender systems',
author = 'David Cortes',
author_email = 'david.cortes.rivera@gmail.com',
url = 'https://github.com/david-cortes/hpfrec',
download_url = 'https://github.com/david-cortes/hpfrec/archive/0.2.2.3.tar.gz',
keywords = ['poisson', 'probabilistic', 'non-negative', 'factorization', 'variational inference', 'collaborative filtering'],
classifiers = [],

Expand Down

0 comments on commit d3ecf1f

Please sign in to comment.