We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in the model: def get_model(self): user_input = Input(shape=(1,), dtype='int32', name='user_input') item_input = Input(shape=(1,), dtype='int32', name='item_input') but in evaluate.py is: def _evaluate_one_rating(idx, k): ........ predictions = _model.predict([np.array(users_input), np.array(items_input)], batch_size=100 + 1, verbose=0)
The text was updated successfully, but these errors were encountered:
solutions: change code in evaluate.py: def _evaluate_one_rating(idx, k): ....... items_input = [] users_input = [] for item in items: items_input.append(item) # original: _data_matrix[:, item] users_input.append(user)
Sorry, something went wrong.
No branches or pull requests
in the model:
def get_model(self):
user_input = Input(shape=(1,), dtype='int32', name='user_input')
item_input = Input(shape=(1,), dtype='int32', name='item_input')
but in evaluate.py is:
def _evaluate_one_rating(idx, k):
........
predictions = _model.predict([np.array(users_input), np.array(items_input)],
batch_size=100 + 1,
verbose=0)
The text was updated successfully, but these errors were encountered: