AWS个性化用户属性

发布于 2025-01-24 09:50:47 字数 457 浏览 2 评论 0原文

我看到AWS个性化支持物品的类型。 对于用户数据集,找不到有关首选类型的任何信息。

  • 受支持吗?
  • 为用户数据集添加首选流派是有意义的吗?

有关流派字段文档的一般问题

  • 显示流派,例如action | Comedy的字符串,
  • 可以发送ID而不是字符串值1 | 42可以吗?

仍然将流派字段定义为分类字符串字段吗?

{
          "name": "GENRES",
          "type": "string",
          "categorical": true
}

这不仅是幕后的数学,而且类型只是一个数字的有意义的名称并不重要吗?

I see that AWS personalize supports GENRES for items.
Can't find anything about preferred GENRES for the users dataset.

  • is it supported?
  • does it make sense to add preferred GENRES for users dataset?

General question about GENRES field

  • doc shows genres as strings like action|comedy
  • is it OK to send ids instead of string values 1|42?

and still define GENRES field as categorical string field?

{
          "name": "GENRES",
          "type": "string",
          "categorical": true
}

Isn't it just a math behind the scenes and it doesn't really matter if genre is meaningful name of just a number?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

远山浅 2025-01-31 09:50:47

创建视频按需域数据集组,并包括项目数据集。对于电子商务域数据集组和自定义数据集组,不需要类型。

类型字段必须在您的项目数据集架构中标记为分类。

{
  "type": "record",
  "name": "Items",
  "namespace": "com.amazonaws.personalize.schema",
  "fields": [
    {
      "name": "ITEM_ID",
      "type": "string"
    },
    {
      "name": "GENRES",
      "type": "string",
      "categorical": true
    },
    {
      "name": "CREATION_TIMESTAMP",
      "type": "long"
    }
  ],
  "version": "1.0"
}

分类字段允许您为每个项目指定一个或多个值,其中多个项目通过|分开。例如,操作|冒险。您用于流派的值取决于您的数据。您可以使用字符串关键字或数字。只需确保将类型列作为字符串格式化,并在项目中使用一致的类型值。个性化将编码您在训练模型时指定的值。

The GENRES column is required when you create a Video On Demand domain dataset group and include an items dataset. For the e-commerce domain dataset group and custom dataset groups, GENRES is not required.

The GENRES field must be marked as categorical in your items dataset schema.

{
  "type": "record",
  "name": "Items",
  "namespace": "com.amazonaws.personalize.schema",
  "fields": [
    {
      "name": "ITEM_ID",
      "type": "string"
    },
    {
      "name": "GENRES",
      "type": "string",
      "categorical": true
    },
    {
      "name": "CREATION_TIMESTAMP",
      "type": "long"
    }
  ],
  "version": "1.0"
}

Categorical fields allow you to specify one or more values for each item where multiple items are separated by |. For example, Action|Adventure. The values you use for genres is dependent on your data. You can use string keywords or numbers. Just make sure that you format the GENRES column as a string and use consistent genre values across your items. Personalize will encode the values you specify when the model is trained.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文