> ## Documentation Index
> Fetch the complete documentation index at: https://kumo.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# distance_measure

#### `distance_measure: <list[dot_product | cosine]>` (Optional)

## Description

Distance measure when measuring distance between node vector embeddings in link prediction. Using cosine similarity (`cosine`) instead of dot product (`dot_product`) tends to reduce popularity bias and tends to increase the diversity of predictions, often at the expense of accuracy.

### Supported Task Types

* Link prediction

### Default Values

| [run\_mode](/run-mode) | Default Value   |
| ---------------------- | --------------- |
| FAST                   | `[dot_product]` |
| NORMAL                 | `[dot_product]` |
| BEST                   | `[dot_product]` |
