Get Feature Importance for an Analysis Group
Get Feature Importance data for an Analysis Group.
This endpoint provides Feature Importance results aggregated across the Analyses in an existing Analysis Group, and returns a list of feature groups with associated Features API features and group p-values.
This endpoint provides Feature Importance results aggregated across the Analyses in an existing Analysis Group, and returns a list of feature groups with associated Features API features and group p-values.
Enter your PredictHQ API key. The Bearer prefix is added automatically.
When calling the API directly, send: Authorization: Bearer <YOUR_API_KEY> as documented at https://docs.predicthq.com/api/overview/authenticating
An Analysis Group ID. Analyses that belong to this group will be returned.
3ED1zxXqAYSuccessful Response
Bad Request
Unauthorized
Bearer token scope insufficient
Analysis Group not found
GET /v1/beam/analysis-groups/{group_id}/feature-importance HTTP/1.1
Host: api.predicthq.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"feature_importance": [
{
"feature_group": "severe-weather",
"features": [
"phq_attendance_concerts",
"phq_attendance_sports"
],
"p_value": 0.312,
"important": true
}
]
}Examples
OpenAPI Spec
The OpenAPI spec for Beam API can be found here.
Last updated
Was this helpful?