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?

질문됨 2년 전350회 조회
2개 답변
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
전문가
Chris_G
답변함 2년 전
  • 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
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠