Skip to content

Commit

Permalink
Further simplified merge
Browse files Browse the repository at this point in the history
Signed-off-by: David Davó <[email protected]>
  • Loading branch information
daviddavo committed Mar 20, 2024
1 parent e049564 commit 8393344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recommenders/models/rlrmc/RLRMCdataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def _data_processing(self, train, validation=None, test=None, mean_center=True):
"""
# Data processing and reindexing code is adopted from https://github.com/Microsoft/Recommenders/blob/main/recommenders/models/ncf/dataset.py
# If validation dataset is None
df = pd.concat(filter(lambda x: x is not None, [train, validation, test]))
df = pd.concat([train, validation, test])

# Reindex user and item index
if self.user_idx is None:
Expand Down

0 comments on commit 8393344

Please sign in to comment.