UltipaDocs
Try Playground
  • Introduction
    • Show Algorithms
    • Install and Uninstall
    • Run Algorithms
    • Algorithm Results and Statistics
    • Degree Centrality
    • Closeness Centrality
    • Harmonic Centrality
    • Graph Centrality
    • Betweenness Centrality
    • Eigenvector Centrality
    • CELF
    • PageRank
    • ArticleRank
    • HITS
    • SybilRank
    • Jaccard Similarity
    • Overlap Similarity
    • Cosine Similarity
    • Pearson Correlation Coefficient
    • Euclidean Distance
    • K-Hop All
    • Bipartite Graph
    • HyperANF
    • Connected Component
    • Triangle Counting
    • Induced Subgraph
    • k-Core
    • k-Truss
    • p-Cohesion
    • k-Edge Connected Components
    • Local Clustering Coefficient
    • Topological Sort
    • Schema Overview
    • Dijkstra's Single-Source Shortest Path
    • Delta-Stepping Single-Source Shortest Path
    • Shortest Path Faster Algorithm (SPFA)
    • Minimum Spanning Tree
    • Breadth-First Search (BFS)
    • Depth-First Search (DFS)
    • Adamic-Adar Index
    • Common Neighbors
    • Preferential Attachment
    • Resource Allocation
    • Total Neighbors
    • Louvain
    • Leiden
    • Label Propagation
    • HANP
    • k-Means
    • kNN (k-Nearest Neighbors)
    • K-1 Coloring
    • Conductance
      • Random Walk
      • Node2Vec Walk
      • Node2Vec
      • Struc2Vec Walk
      • Struc2Vec
      • GraphSAGE
      • GraphSAGE Train
      • LINE
      • Fast Random Projection
      • Summary of Graph Embedding
      • Gradient Descent
      • Backpropagation
      • Skip-gram
      • Skip-gram Optimization
  1. Docs
  2. /
  3. Graph Analytics & Algorithms
  4. /
  5. Using Algorithms

Algorithm Results and Statistics

There are two kinds of execution result of Ultipa graph algorithms: algorithm results and statistics. Some algorithms have both, and some have no statistics. By specifying how the algorithm is executed, you may decide which kind of result is returned.

Algorithm Results

The algorithm results generally include the unique identifiers (_uuid or _id) of the nodes (or edges) and the corresponding calculation results.

Here an example results of the Degree Centrality algorithm, which contains two columns, the first column is the UUID of the node, and the second column is the calculated node degree:

_uuiddegree
13
23
35
42
52

And an example results of the Jaccard similarity algorithm, with three columns, the first two columns are the UUIDs of the two nodes comparing similarity, and the third column is the similarity between them:

node1node2similarity
130.25
120.2
140.166666666666667

Statistics

Algorithm statistics generally include one or multiple KVs (Key-Value).

Here an example statistics of the Degree Centrality algorithm, which contains total degree (total_degree) and avgerage degree (average_degree) of all nodes calculated:

total_degreeaverage_degree
101.25

And an example statistics of the Lovain algorithm, which contains the number of communities divisions (community_count) and the modularity (modularity):

community_countmodularity
30.43