Uploaded image for project: 'S2Graph'
  1. S2Graph
  2. S2GRAPH-33

Support weighted sum of multiple query results.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Done
    • Major
    • Resolution: Done
    • None
    • None
    • None

    Description

      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": []
      }
      

      Attachments

        Activity

          People

            steamshon Do Yung Yoon
            steamshon Do Yung Yoon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: