【发布时间】:2015-12-03 20:57:30
【问题描述】:
问题是UR template
当我有这样存储的项目时:
{
"event" : "$set",
"entityType" : "item",
"entityId" : "ipad",
"properties" : {
"category": ["123", "1145"]
"expireDate": "2016-10-05T21:02:49.228Z",
"type" : "article",
"group" : "sport",
},
"eventTime" : "2015-10-05T21:02:49.228Z"
}
如何仅过滤具有type="article" 和group="sport" 的预测?
此查询不起作用:
{
“user”: “xyz”,
“fields”: [
{
“name”: “type”
“values”: [“article”],
“bias”: -1 // filter out all except ‘article’
},{
“name”: “group”,
“values”: [“sport”]
“bias”: -1 // filter out all except ‘sport’
}
]
}
【问题讨论】:
-
您是否将数据导入到端口7070(例如)>
pio build>pio train>pio deploy?你遇到了什么错误? engine.json 怎么样? -
您找到解决方案了吗?我也遇到了同样的问题。
标签: predictionio