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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ