Get Feature Importance
Get feature importance data for an analysis.
This endpoint provides feature importance test results for an existing analysis, and returns a list of feature groups with associated Features API features and group p-values.
These values represent each group of features' statistical significance when it comes to impacting observable incremental/decremental changes in demand.
Request
HTTP Request
Path Parameters
analysis_id
An existing Beam Analysis ID.
Response
Response Fields
feature_importance
array
List of Feature Importance groups. Please refer to the Feature Importance Response Fields section below for the structure of each record.
Feature Importance Response Fields
feature_group
string
The name of the group. This typically refers to an event category.
E.g. severe-weather
, concerts
features
array
The names of the features in the feature group. These refer directly to features available in Features API.
E.g.
p_value
float
The p-value associated with this feature group for this analysis. It indicates how important the features in the group are in terms of demand.
The lower the p-value, the more important the feature group is.
E.g. 0.312
important
boolean
A true
of false
value indicating whether the feature group is considered important for this analysis.
Equivalent to p_value < 0.1
We suggest using this value to determine whether or not to include this group of features in your modeling.
Examples
Guides
Below are some guides relevant to this API:
Last updated