...
In order to set up a new trend-detection on an existing project, one can use the `new_trenddetection` method of the squirro client to set up the trend detection for a particular query `q` on a project with project-id `project-id`. A valid email-address is required for generating an email-alert when something unusual is detected for a particular query-projectid pair. Parameter `aggregation_interval` controls the discretization of the time series (`time-unit` parameter above) before initiating the trend-detection analysis. An example usage can be seen beseen below.
Code Block |
---|
>>> client.new_trenddetection( project_id='2sic33jZTi-ifflvQAVcfw', query='hello world', name='test name', email_user='test@squirro.com', aggregation_interval='1w') |
Since,
How to inspect detected Trends?
...