You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@s2graph.apache.org by "DOYUNG YOON (JIRA)" <ji...@apache.org> on 2016/02/04 07:59:39 UTC

[jira] [Updated] (S2GRAPH-33) Support weighted sum of multiple query results.

     [ https://issues.apache.org/jira/browse/S2GRAPH-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

DOYUNG YOON updated S2GRAPH-33:
-------------------------------
    Issue Type: New Feature  (was: Improvement)

> Support weighted sum of multiple query results.
> -----------------------------------------------
>
>                 Key: S2GRAPH-33
>                 URL: https://issues.apache.org/jira/browse/S2GRAPH-33
>             Project: S2Graph
>          Issue Type: New Feature
>            Reporter: DOYUNG YOON
>            Assignee: DOYUNG YOON
>              Labels: feature
>
> In some cases, It is necessary to aggregate multiple results from multiple queries. 
> Some example cases would be hybrid recommender which composed of combination of (user based collaborative filtering + most popular + content based collaborative filtering..., etc).
> ex)
> ```
> {
>   "queries": [
>     {
>       "srcVertices": [
>         {
>           "columnName": "user_id_test",
>           "id": 0,
>           "serviceName": "s2graph"
>         }
>       ],
>       "steps": [
>         [
>           {
>             "direction": "out",
>             "label": "s2graph_label_test_0",
>             "offset": 0
>           }
>         ]
>       ]
>     },
>     {
>       "srcVertices": [
>         {
>           "columnName": "user_id_test",
>           "id": 0,
>           "serviceName": "s2graph"
>         }
>       ],
>       "steps": [
>         [
>           {
>             "direction": "out",
>             "label": "s2graph_label_test_1",
>             "offset": 0
>           }
>         ]
>       ]
>     }
>   ],
>   "weights": [
>     0.6,
>     0.4
>   ],
>   "gropuBy": ["to"], 
>   "select": []
> }
> ```



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)