
Algorithm
Below explains the algorithm used in StarTree Enterprise Edition. StarTree Community Edition uses a simpler algorithm that cannot combine multiple dimensions. Original publication from Data cube algorithm in https://engineering.linkedin.com/blog/2020/analyzing-anomalies-with-thirdeye
Selection of nodes from dimension hierarchies
This section describes how dimension combinations are selected and used to generate the above summary table. As an example, we will use an additive metric with three dimensions: continent, country and state. The image below shows the dimension breakdown of these dimensions, which forms a tree structure. Note that this figure has omitted some nodes. For instance, FR is a child of Europe with the children of FR omitted. In other words, every leaf of the tree is located at the third level.



Continent | Country | State (Province) | Baseline traffic | Current traffic |
---|---|---|---|---|
OTHER | (ALL) | (ALL) | 55 | 77 |
Europe | (ALL) | (ALL) | 25 | 43 |
N. America | CA | (ALL) | 10 | 23 |
N. America | US | OTHER | 15 | 32 |
N. America | US | Calfiornia | 15 | 25 |