Skip to content

Commit 03f8867

Browse files
committed
oops
1 parent 453bb36 commit 03f8867

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recommenders/rbm_tf_k.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def one_hot_mask(X, K):
4646
Y[n,d,:] = 1
4747
return Y
4848

49-
one_to_ten = np.arange(K) + 1 # [1, 2, 3, ..., 10]
49+
one_to_ten = np.arange(10) + 1 # [1, 2, 3, ..., 10]
5050
def convert_probs_to_ratings(probs):
5151
# probs is N x D x K
5252
# output is N x D matrix of predicted ratings

0 commit comments

Comments
 (0)