Skip to content

Commit

Permalink
fix typos in variable names fixes #44
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cortes committed Aug 9, 2023
1 parent 85aa978 commit c5b1f64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cmfrec/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1972,10 +1972,10 @@ def _item_factors_cold(self, I=None, I_bin=None, I_col=None, I_val=None):

if isinstance(self.l1_lambda, np.ndarray):
l1_lambda = self.l1_lambda[3]
lambda_bias = self.l1_lambda[1]
l1_lambda_bias = self.l1_lambda[1]
else:
l1_lambda = self.l1_lambda
lambda_bias = self.l1_lambda
l1_lambda_bias = self.l1_lambda

I, I_col, I_val, I_bin = self._process_new_U(U=I, U_col=I_col, U_val=I_val, U_bin=I_bin, is_I=True)

Expand All @@ -1997,7 +1997,7 @@ def _item_factors_cold(self, I=None, I_bin=None, I_col=None, I_val=None):
self.A_,
np.empty((0,0), dtype=self.dtype_),
self.D_,
self.D_bin_,
self.Dbin_,
self.Ai_,
np.empty((0,0), dtype=self.dtype_),
np.empty((0,0), dtype=self.dtype_),
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def test_supports_clang_reassociate(self):
setup(
name = "cmfrec",
packages = ["cmfrec"],
version = '3.5.1-5',
version = '3.5.1-6',
description = 'Collective matrix factorization',
author = 'David Cortes',
url = 'https://github.com/david-cortes/cmfrec',
Expand Down

0 comments on commit c5b1f64

Please sign in to comment.