> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/sdgm/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/sdgm/_mcp/server.

# Link Prediction

> Suggest Edits

For link prediction tasks, Kumo provides F1\@K, MAP\@K, Precision\@K, Recall\@K (for K = 1, 10, and 100), as well as the following:

**Normalized Discounted Cumulative Gain (NDCG)** is calculated by:

<img src="/sdgm/_files/nvidia-sdgm.docs.buildwithfern.com/2e829f392f939a301c336c2cb0c55cfa4eebe772af1c6180a14a03a4155e0dfc/images/Screenshot2025-06-27at10.41.36AM.png" alt="Screenshot2025 06 27at10 41 36AM Pn" title="Screenshot2025 06 27at10 41 36AM Pn" />

where **\_reli \_**&#x69;s the graded relevance of the result at position ***i***.

**Mean Average Precision (MAP)** is calculated by:

<img src="/sdgm/_files/nvidia-sdgm.docs.buildwithfern.com/20e70ec203f9f8d6fc0d212b23dcd78d861e24aa3bafa7fa692440a0f39f761c/images/Screenshot2025-06-27at10.41.57AM.png" alt="Screenshot2025 06 27at10 41 57AM Pn" title="Screenshot2025 06 27at10 41 57AM Pn" />

where MAP is calculated by finding the average precision (AP) for each query, and then averaging over the number of queries.

**Mean Reciprocal Rank (MRR)** is calculated by:

<img src="/sdgm/_files/nvidia-sdgm.docs.buildwithfern.com/440a742b7a67248bedf917e40d310ddc8a002b08aab4f3ce47743dc24185d653/images/Screenshot2025-06-27at10.42.26AM.png" alt="Screenshot2025 06 27at10 42 26AM Pn" title="Screenshot2025 06 27at10 42 26AM Pn" />

where **\_ranki \_**&#x72;efers to the rank position of the *first* relevant item for the *i*-th query.