Try StarTree Cloud: 30-day free trial
Manage Holiday Effect

Manage holiday effects with StarTree ETS

Some StarTree ThirdEye models can learn the impact of special events like holidays. Here is an example configuration.

{  
"name": "pageviews-ets-with-holiday",  
"description": "",  
"template": {  
	"name": "startree-ets"  
	},  
"templateProperties": {  
	"dataSource": "pinot",  
	"dataset": "pageviews",  
	"aggregationFunction": "sum",  
	"seasonalityPeriod": "P7D",  
	"lookback": "P90D",  
	"monitoringGranularity": "P1D",  
	"sensitivity": "3",  
	"aggregationColumn": "views",  
	"eventSqlFilter": "'US' member of dimensionMap['countryCode']", 
	"eventTypes": [
		"HOLIDAY" 
		]
	},  
"cron": "0 0 5 ? * * *"  
}

pageviews_ets_holiday.json

The eventSqlFilter and eventTypes are described here.

Compatible templates

startree-ets
startree-ets-percentile

For templates that cannot learn the effect of holidays, it is possible to use a filter to ignore anomalies that happen during special events.
Use the optional parameters:

{
  ...
  "templateProperties": {
    "eventFilterIgnore": true,
    "eventFilterSqlFilter": "",
    "eventFilterTypes": [],
    "eventFilterBeforeHolidayMargin": "P0D",
    "eventFilterAfterHolidayMargin": "P0D"  
  }
}