zeroonesfas

Results 5 comments of zeroonesfas

Thanks for your reply @patrickorlando Below is my retrieval model with multiple features (i.e., UserID, preference1, locationID and locationTags.) How can I make recommendation based on a new UserID and...

When I make prediction, the following error occurs. AttributeError: 'dict' object has no attribute 'shape' Note: Name of Location = LocationID ```python location = tf_location_dict.map(lambda x: { "Name of Location":...

It works! @patrickorlando Then, how can we make prediction for a new user in my case? Thanks. ```python _, location = index(candidates: tf.Tensor, identifiers: Optional[tf.Tensor] = None) ```

@kingjosephm Hello, thanks for your sharing I got following error when I run your last code block. Do you know why ? ----> 1 uniq_products = np.unique(np.concatenate(list(user.batch(1_000).map(lambda x: x['product'])))).astype(str) 2...