Personalize filters - Users metadata

1

For user-personalization recipe, I have the following metadata:

  • Users: User_id, age, gender,
  • Interactions: User_id, Item_id, event_type,
  • Items: Item_id, Genre and Item_title.

We want to get the recommendations filtered based on the age. Currently in the create filter step, we aren't able to add Users.age property in our filter for the where clause. Any suggestions on how we can filter on different users metadata for the user personalization recipe?

demandé il y a 2 ans349 vues
2 réponses
0

Hello,

Is the age column listed in the User dataset schema? You should have an entry similar to:

{
	"name": "AGE",
	"type": "int"
},

For the filter, when you go to build the expression, you should select:

  • Action = Include
  • ID = UserID

This should allow you to select the WHERE property of Users.age. Screenshot of this below:

Filter Example

profile pictureAWS
EXPERT
Chris_G
répondu il y a 2 ans
  • Hi.. thanks for the above answer. I am looking specific to user-personalization recipe. I want the recommended items based on the location/age. Just wondering if the users metadata can be used to filter in this scenario or do I need to use it as a context?

0

Hi, adding to the above.

First: Filters are deterministic, Context is a nudge. A filter will determine the recommendations fully, i.e. nothing that does not match the filter is recommended, while the context will subtly influence the recommendations, i.e. recommendations will be different if your user behaviour is different in different contexts, but there may be overlap in recommended items.

You should use item and user metadata fields if the attribute does not change over (a short) time for the same user or item (user age, user city). You should use context attributes of the interaction that change over time (device type, time of day, ...). Read more about context here

To apply a filter using an user-metadata attribute in the user-personalization recipe, you can add an "IF" clause to the expression:

Enter image description here Click on the "+" to add the condition and select the "IF" operator.

AWS
Anna_G
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions