KnnTableLabels Data Type

Labels for a subset of the neighbors for a subset of queries.

Properties
name data type description
missingvalue string Value used for missing items.
q map of KnnTableLabelEntry Entries for queries. Map of query index in the k-NN results to the entry.

Example

{
  "missingvalue" : "...",
  "q" : {
    "property1" : {
      "queryid" : "...",
      "queryindex" : 12345,
      "querymolindex" : 12345,
      "dissimilarities" : {
        "property1" : 12345.0,
        "property2" : 12345.0
      },
      "targetids" : {
        "property1" : "...",
        "property2" : "..."
      },
      "targetmolindices" : {
        "property1" : 12345,
        "property2" : 12345
      }
    },
    "property2" : {
      "queryid" : "...",
      "queryindex" : 12345,
      "querymolindex" : 12345,
      "dissimilarities" : {
        "property1" : 12345.0,
        "property2" : 12345.0
      },
      "targetids" : {
        "property1" : "...",
        "property2" : "..."
      },
      "targetmolindices" : {
        "property1" : 12345,
        "property2" : 12345
      }
    }
  }
}