Get Features
The Features API provides features for ML Models across all types of demand causal factors, including attended events and non-attended events.
Last updated
The Features API provides features for ML Models across all types of demand causal factors, including attended events and non-attended events.
Last updated
© 2024 PredictHQ Ltd
Header | Value |
---|---|
Parameter | Description |
---|---|
Field | Description |
---|---|
PHQ Attendance features provide daily-level aggregated stats based on the number of people who we predict will attend events on a given day. This takes into account complications like distributing attendance across multi-day events.
We recommend using impact pattern features instead of generic features if you are in one of the supported industries. See #attended-events-impact-patterns.
Attended Events Generic Features
Use the generic features in this table if you are not in one of the industries covered by the impact pattern features listed below.
Attended Events Impact Pattern Features
Demand impact patterns model the impact of leading days (days before the event), lagging days (days after an event), and the days the event occurs. In the Features API, Impact Patterns are provided as different features with a feature per industry. We have impact pattern features for the accommodation, hospitality (which covers food & beverage including restaurants), and retail industries.
The features above are generic features and the features in the table below are the impact pattern features per industry. For example, if you were in the accommodation industry and wanted a feature for the conferences category you'd use phq_attendance_conferences_accommodation
.
We recommend using impact pattern features instead of generic features if you are in one of the supported industries. See Impact Patterns for more details.
You can configure PHQ Attendance features using the options below.
Other than the date, the structure of each result here will depend on how you configured the feature in your request and the type of feature.
You can receive responses formatted as JSON (default) or CSV. Use the Accept
header when performing your request to define which format you would like to receive.
With the Accept
header set to application/json
you will receive the results as JSON like the example below:
Below are some guides relevant to this API:
Feature | Description |
---|---|
Feature | Description |
---|---|
Field | Description |
---|---|
Feature | Description |
---|---|
Feature | Description |
---|---|
Field | Description |
---|---|
Feature | Description |
---|---|
Field | Description |
---|---|
Feature | Category | Industry |
---|---|---|
Feature | Description | Industry |
---|---|---|
Field | Description |
---|---|
Field | Description |
---|---|
Field | Description |
---|---|
Field | Description |
---|---|
Field | Description |
---|---|
Field | Description |
---|---|
Field | Description |
---|---|
date | phq_attendance_concerts_stats_count | phq_attendance_concerts_stats_sum | phq_attendance_conferences_stats_min | phq_attendance_conferences_stats_max | phq_attendance_sports_stats_count | phq_attendance_sports_stats_sum | phq_attendance_sports_stats_min | phq_attendance_sports_stats_max | phq_attendance_sports_stats_avg | phq_attendance_sports_stats_median | phq_attendance_sports_stats_std_dev | phq_rank_public_holidays_rank_levels_1 | phq_rank_public_holidays_rank_levels_2 | phq_rank_public_holidays_rank_levels_3 | phq_rank_public_holidays_rank_levels_4 | phq_rank_public_holidays_rank_levels_5 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|