This burst detection algorithm is implemented based on the Jon Kleinberg's, Bursty and Heirarchical Structure in Stream. A burst is a period of increased activity, determined by minimizing a cost function that assumes a set of possible states (not bursting and various degrees of burstiness) with increasing event frequencies, where it is expensive (costly) to go up a level and cheap (zero-cost) to decrease a level. It is useful for text stream analysis (such as emails, corpus, publication) where you want to know the activity of the stream in a period of time.
Given a table with at least three columns, a Text Column (event or topics to be targeted), a dates/timestamps (time the event happens) and a delimited value (to separate multiple events / topics), this algorithm detects bursts of each event / topics. Please see 'Usage Hints' for more details about guidance.
The algorithm takes 7 parameters.
The result will be generated into a CSV file with the following fields:
Because of the by-event state machine approach, events are bursted on independently of each other. This makes this algorithm suitable primarily when the changes in patterns of individual event usage are the area of interest. Cross-burst-levels comparisons of an event are possibleby using the burst 'weight'. However, this algorithm only support batches records by year. In future, it will expended to month, date, hour; even number of year as desired based on user needs.
Burst detection is particularly useful for examining the trends in collections of texts or communities of conversation. Even words that are used comparatively little, but that change in frequency of usage over time, stand out, unlike in burst detection algorithms based on thresholds.
Since we are focus on scholarly data, the data will be distributed into yearly batches before the burst computation started. Please see Kleinberg\[pg. 14\]. We also replace the missing years with empty batches to make the batches continuously by year. There will no burst for these empty batches. It is possible to add a scaling factor for the batches to month, day, hour; even number of years per batch. However, we need more evaluation on the implementation before it is available. This algorithm was re-implemented in Java based on the origin C implementation.
Please read the Description section before continue. This burst algorithm is a text based burst detection that provide burst results in heirarchical structure. However, it is also capable to detect if the bursts exist by setting the bursting states to 1.
You might need to consider to normalize free-form text of the Text Column by using Lowercase, Tokenize, Stem, and Stopword Text. The burst detection algorithm will not edit the words in the Text Column. The different forms of a word such as author, Author, authors will be treated as different tokens. To avoid this, you can use the Lowercase, Tokenize, Stem, and Stopword Text algorithm to normalized the Text Column. Basically, the normalized result is a list of tokens (words) that delimited with '|'.
Notes: The default parameters are typically good choices, but more sophisticated models can be fitted by tweaking them in various ways.
J. Kleinberg. Bursty and Hierarchical Structure in Streams. Proc. 8th ACM SIGKDD Intl. Conf. on Knowledge Discovery and Data Mining, 2002.