<instance_ name>!GET_ DRIVERS¶
在数据集中找到最重要的维度,从这些维度构建片段,然后确定这些片段中哪些对指标影响最大。
GET_DRIVERS 非常适合从具有大量维度的数据集中提取根本原因。此外,还支持连续维度,而无需将其预处理为分类维度,并能在结果中指出具有负面条件的维度(例如,“区域不是北美”)。
If you need to select specific columns from the data returned by this method, use RESULT_SCAN.
语法
- INPUT_DATA
A reference to a table, view, or query. All columns other than the ones specified by LABEL_COLNAME and METRIC_COLNAME are taken as dimensions to be considered by Top Insights. Numeric columns are taken to be continuous dimensions, while string and Boolean columns are considered categorical dimensions. To treat a numeric column as a categorical dimension, cast it to a string.
- LABEL_COLNAME
INPUT_DATA 中布尔列的名称,指定为表示控制数据 (FALSE) 与测试数据 (TRUE) 的标签。
- METRIC_COLNAME
The name of a FLOAT column in INPUT_DATA representing the value of interest that has been influenced by the included dimensions.
输出
使用说明
- 执行时间随维度数量和这些维度的基数而变化。
- 输入指标必须是单个观察或一个汇总。
- 对于具有超过 25 个值的分类维度,Top Insights 仅使用前 25 个最具影响力的值来创建细分。
示例
See Examples.