KnnInfo Data Type

Info about a knn analysis result.

Properties
name data type description
querycount number Number of queries.
k number Number of nearest neighbors stored for each query.
minneighborcount number Minimal neighbor count stored.
maxneighborcount number Maximal neighbor count stored.
allneighborcount number All neighbor count stored.
querymolecules MoleculeSetInfo Description of query molecules.
targetmolecules MoleculeSetInfo Description of target molecules.
context string Associated context description.
qmolsurl string URL of query molecules.
tmolsurl string URL of target molecules. In case of self overlap results this is the same as #qmolsurl.
queryindexproj string Index projector used for querues.
targetindexproj string Index projector used for targets.
self boolean true when self overlap results are represented.
mindissim number Lower bound of dissimilarity values.
maxdissim number Upper bound of dissimilarity values.
minneighborindex number Lower bound of neighbor indices.
maxneighborindex number Upper bound of neighbor indices.
url string URL of the knn data.
name string Name of the knn data.
time number Associated elapsed time in milliseconds. The represented time value depends on use case (load time on server startup or calculation time).

Example

{
  "querycount" : 12345,
  "minneighborcount" : 12345,
  "maxneighborcount" : 12345,
  "allneighborcount" : 12345,
  "querymolecules" : {
    "size" : 12345,
    "time" : 12345,
    "description" : "...",
    "absentmols" : 12345,
    "absentids" : 12345,
    "url" : "...",
    "name" : "...",
    "propnames" : [ "...", "..." ],
    "props" : [ {
      "name" : "...",
      "type" : "...",
      "numeric" : true,
      "extractor" : "..."
    }, {
      "name" : "...",
      "type" : "...",
      "numeric" : true,
      "extractor" : "..."
    } ]
  },
  "targetmolecules" : {
    "size" : 12345,
    "time" : 12345,
    "description" : "...",
    "absentmols" : 12345,
    "absentids" : 12345,
    "url" : "...",
    "name" : "...",
    "propnames" : [ "...", "..." ],
    "props" : [ {
      "name" : "...",
      "type" : "...",
      "numeric" : true,
      "extractor" : "..."
    }, {
      "name" : "...",
      "type" : "...",
      "numeric" : true,
      "extractor" : "..."
    } ]
  },
  "context" : "...",
  "qmolsurl" : "...",
  "tmolsurl" : "...",
  "queryindexproj" : "...",
  "targetindexproj" : "...",
  "self" : true,
  "mindissim" : 12345.0,
  "maxdissim" : 12345.0,
  "minneighborindex" : 12345,
  "maxneighborindex" : 12345,
  "url" : "...",
  "name" : "...",
  "time" : 12345
}