Get Feature Importance
Get feature importance data for an analysis.
Last updated
Get feature importance data for an analysis.
Last updated
© 2024 PredictHQ Ltd
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.
Parameter | Description |
---|---|
Field | Description |
---|---|
Field | Description |
---|---|
Below are some guides relevant to this API:
analysis_id
An existing Beam Analysis ID.
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_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.