Create an Analysis Group
Creating an Analysis Group allows to aggregate Feature Importance for a number of Analyses
Request
HTTP Request
POST https://api.predicthq.com/v1/beam/analysis-groups
Request Headers
Header
Value
Content-Type
application/json
Request Body
Field
Description
name
string
required
Name of an analysis group.
E.g. My Analysis Group 1
analysis_ids
string[]
required
The list of existing analysis ids to include in the group.
E.g.
"analysis_ids": [
"zRa_kk7MlAA",
"3aR-gbJp98I",
"JBb08XsZqAo",
"q9iX2XqFBxM"
]
Analyses can belong to multiple groups.
Analyses must have the same demand type, i.e. the interval
must match, and in case of weekly analyses week_start_day
must also be consistent across all analyses in the group. Every analysis in the group must have the same industry, if set.
Response
Examples
curl -X POST "https://api.predicthq.com/v1/beam/analysis-groups" \
-H "Accept: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @<(cat <<EOF
{
"name": "Analysis Group 1",
"analysis_ids": [
"zRa_kk7MlAA",
"3aR-gbJp98I",
"JBb08XsZqAo",
"q9iX2XqFBxM"
]
}
EOF
)
Best Practices
Please refer to this guide for the best practices on grouping analyses: Grouping Analyses in Beam
Last updated
Was this helpful?