- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我想使用 prediction.io 构建推荐服务。我认为 Universal Recommender ( http://templates.prediction.io/PredictionIO/template-scala-parallel-universal-recommendation) 是一个很好的模板。我的网站显示 EPG,我想根据用户页面 View 为简单的 PoC 推荐。页面浏览量是具有某些属性性别、 Actor 、标签、 channel 、花束...的广播。
一开始我只发送一个主要事件,用户看到广播:
{
"event" : "view",
"entityType" : "user",
"entityId" : "userId",
"targetEntityType" : "item",
"targetEntityId" : "broadcastId",
"properties" : {},
"eventTime" : "2015-10-05T21:02:49.228Z"
}
如果我理解文档,我将不得不每天使用 crontask 发送新广播以添加属性,并学习 pio 新项目:
{
"event" : "$set",
"entityType" : "item",
"entityId" : "broadcastId",
"properties" : {
"bouquet" : ["B1", "B2"],
"people": ["P1", "P2"],
"channel": ["C1"],
"availableDate" : "2015-11-23T21:02:49.228Z",
"expireDate": "2016-10-05T21:02:49.228Z"
},
"eventTime" : "2015-11-23T21:02:49.228Z"
}
现在,我不知道是在广播实体中使用属性更好,还是发送次要事件更好?例如:
{
"event" : "view-bouquet",
"entityType" : "user",
"entityId" : "userId",
"targetEntityType" : "item",
"targetEntityId" : "bouquetId",
"properties" : {},
"eventTime" : "2015-10-05T21:02:49.228Z"
}
{
"event" : "view-people",
"entityType" : "user",
"entityId" : "userId",
"targetEntityType" : "item",
"targetEntityId" : "peopleId",
"properties" : {},
"eventTime" : "2015-10-05T21:02:49.228Z"
}
...
{
"event" : "view-channel",
"entityType" : "user",
"entityId" : "userId",
"targetEntityType" : "item",
"targetEntityId" : "channelId",
"properties" : {},
"eventTime" : "2015-10-05T21:02:49.228Z"
}
最佳答案
这取决于你想做什么。如果您希望能够过滤和/或提升这些,请将它们添加为项目的属性;如果您希望他们通过交叉共现计算影响/改进模型,请将它们作为次要事件发送。 [或者如果/当它对你有意义时都做]
关于predictionio - Universal Recommender 中的数据收集,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33877542/
最近一篇关于 HTML5 的文章说,Proposed Recommendation 日期是 2022 年,Candidate Recommendation 日期是 2012 年。 我想知道“Propo
关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。 想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。 7年前关闭。 Improve thi
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 要求我们推荐或查找工具、库或最喜欢的场外资源的问题对于 Stack Overflow 来说是无关紧要的,因
我知道缩写SVM(Support Vector Machines)和 SVD(Singular Value Decomposition)并且 SVM 和 SVD 都用于推荐引擎。 用外行的话来说,这两
我想尝试构建一个推荐系统,我的意思是一种算法,可以查看用户发布的偏好和/或评论,然后为他们提出建议,类似于 netflix 或亚马逊使用的算法。 什么是学习如何编写这样的东西的好资源?我应该从哪里开始
这是一个理论问题。假设我已经实现了两种类型的协同过滤:基于用户的 CF 和基于项目的 CF(以 Slope One 的形式)。 我有一个很好的数据集供这些算法运行。但是我想做两件事: 我想向数据集添加
关闭。这个问题是opinion-based .它目前不接受答案。 想要改进这个问题? 更新问题,以便 editing this post 可以用事实和引用来回答它. 关闭去年。 Improve th
我正在阅读 CF 中的一些论文,并注意到大多数最先进的方法仅基于评级矩阵上的不同分解方法。我想知道是否有一些将内容信息(例如用户特征和项目特征)组合成因式分解的代表性作品。有什么想法吗? 最佳答案 我
例如:我有一个像这样的主文件 userid itemid rating 1
关闭。这个问题是opinion-based .它目前不接受答案。 想改善这个问题吗?更新问题,以便可以通过 editing this post 用事实和引文回答问题. 7年前关闭。 Improve t
关闭。这个问题需要更多focused .它目前不接受答案。 想改善这个问题吗?更新问题,使其仅关注一个问题 editing this post . 6年前关闭。 Improve this questi
我正在构建一个基于内容的电影推荐系统。很简单,只要让用户输入电影名称,系统就会找到特征最相似的电影。 在计算相似度并按降序排列得分后,我找到5个相似度得分最高的相应电影并返回给用户。 到目前为止,当我
我有这个问题:为 facebook 正确配置的页面: (我也尝试过:) (还有其他一些) 在head中,对应的OG代码:app_id、url、type、title、image、de
最近发现好几个网站都有“Recommended for You”之类的东西,比如youtube,或者facebook,可以研究我的使用行为,推荐一些内容给我... ...我会想知道他们如何分析这些信息
我在https://reactrouter.com/en/main/hooks/use-navigate中看到“在加载器和操作中使用重定向通常比在这个钩子中使用重定向更好”,所以我应该将useNavi
嘿,对于任何做过这件事的人来说,这只是一个简单的问题。我想创建一个视频管网站。我以前做过文件上传,但想知道是否有人可以就我打算做什么给我建议。 我计划的方式就是在我的网页目录下有一个文件夹,病毒扫描和
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 想改进这个问题?将问题更新为 on-topic对于堆栈溢出。 5年前关闭。 Improve this qu
在构建网站时,例如问答网站或社区论坛网站,仅了解 HTML、CSS、PHP、MySQL 和 javascript 是否足以使网站动态化? 我之所以这样说,是因为我和我的老师交谈时,他说主要网站使用多种
据我所知,Embedly刚刚开始将“推荐”视频的版本提升到YouTube在其“Cards”产品上嵌入的底部。有什么办法可以删除它们? Embedly Recommended Videos 我们将Emb
我想使用 prediction.io 构建推荐服务。我认为 Universal Recommender ( http://templates.prediction.io/PredictionIO/te
我是一名优秀的程序员,十分优秀!