Skip to content

Commit

Permalink
typo in update of metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cortes committed Aug 8, 2018
1 parent 1306ab5 commit 294c646
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hpfrec/__init__.py
Expand Up @@ -1008,7 +1008,7 @@ def add_user(self, user_id, counts_df, update_existing=False, maxiter=10, ncores
self._st_ix_user[(user_id + 1):] += self._n_seen_by_user[user_id] - n_seen_by_user_before
else:
self._n_seen_by_user = np.r_[self._n_seen_by_user, counts_df.shape[0]]
self._st_ix_user = np.r_[self._st_ix_user, self._st_ix_user.shape[0] - 1]
self._st_ix_user = np.r_[self._st_ix_user, self.seen.shape[0]]
self.seen = np.r_[self.seen, counts_df.ItemId.values]

return True
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -27,12 +27,12 @@
'scipy',
'cython'
],
version = '0.2.1.2',
version = '0.2.1.3',
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.1.tar.gz',
download_url = 'https://github.com/david-cortes/hpfrec/archive/0.2.1.3.tar.gz',
keywords = ['poisson', 'probabilistic', 'non-negative', 'factorization', 'variational inference', 'collaborative filtering'],
classifiers = [],

Expand Down

0 comments on commit 294c646

Please sign in to comment.