# X-Pack Graph Significance Level

**URL:** <https://discuss.elastic.co/t/x-pack-graph-significance-level/88602>\
**Category:** Elasticsearch\
**Created:** [June 7, 2017, 3:43pm UTC](https://discuss.elastic.co/t/x-pack-graph-significance-level/88602 "2017-06-07T15:43:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![durantto](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@durantto](https://discuss.elastic.co/u/durantto)\
**Post date:** [June 7, 2017, 3:43pm UTC](https://discuss.elastic.co/t/x-pack-graph-significance-level/88602/1 "2017-06-07T15:43:17Z")

</div>

Hello,

Simple question here. It is my understanding that X-Pack graph is a network analysis of sorts. Is there any documentation which details the underlying calculations which are performed to generate the data which is then visualized by Kibana.

In particular, I am interested in the use\_significance parameter. Can it be configured? Is it an integer? I understand that when I turn it to 'false', more connections appear, as expected, but what are the methods behind this calculation. Any insight would be helpful, thank you in advance.

T

---

<div class="post-metadata">

**Author:** ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)\
**Post date:** [June 8, 2017, 8:39am UTC](https://discuss.elastic.co/t/x-pack-graph-significance-level/88602/2 "2017-06-08T08:39:19Z")

</div>

Hi,  
Yes, "uncommonly common" is the phrase we often use to describe the sorts of things we find significant. Those things that are common in your result set but comparatively rare in the background data. TF-IDF ranking is a form of this at a document level (words common in the document but uncommon generally).

I have a visualisation that shows the significant terms "popping" here and how sampling is an important factor too: [https://www.youtube.com/watch?v=azP15yvbOBA](https://www.youtube.com/watch?v=azP15yvbOBA)

Cheers  
Mark

---

<div class="post-metadata">

**Author:** ![durantto](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@durantto](https://discuss.elastic.co/u/durantto)\
**Post date:** [June 8, 2017, 8:28pm UTC](https://discuss.elastic.co/t/x-pack-graph-significance-level/88602/3 "2017-06-08T20:28:03Z")

</div>

Mark,

Thank you for the insight. So it seems that the relevance ranking algorithm is based term frequency/inverse document frequency and the vector space model. So, if I understand this correctly when I have "Significant Links" checked, the vertices, or connections that are plotted in the X-Pack Graph, are a visual representation ‘relevance score’ if it is above a certain threshold deemed significant?

I guess what I am looking for is precise verbiage to describe what is happening on the backend of the graph when significance is checked or unchecked, and secondly, but less importantly, whether or not is the backend configurable in this regard.

Thank you,  
Tommy

---

<div class="post-metadata">

**Author:** ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)\
**Post date:** [June 8, 2017, 8:40pm UTC](https://discuss.elastic.co/t/x-pack-graph-significance-level/88602/4 "2017-06-08T20:40:09Z")

</div>

> [@durantto](#):
>
> if it is above a certain threshold deemed significant?

Generally it's not so much about setting a threshold, rather prioritising the connections shown.  
A search engine uses relevance ranking to serve the most interesting documents first.  
The Graph UI uses a similar approach to surface the most interesting connections first.  
The UI has the option to return a user-configurable number of field values. If you select a node and hit the + button you'll get the first N significantly connected other nodes/values. Hitting the "+" button again while keeping the original selection will add the next most relevant N. Like paging through docs in search results.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 8:40pm UTC](https://discuss.elastic.co/t/x-pack-graph-significance-level/88602/5 "2017-07-06T20:40:41Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
