Survey							
                            
		                
		                * Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Homework 1 Due: April 18, 2008 before class. Only hard copy is accepted. 1. Consider the following frequent 3-sequences: (123), (12)3, 1(23), (12)4,(13)4, (124), (23)3,(23)4, 233, and 234. (a) List all the candidate 4-sequences produced by the candidate generation step of the GSP algorithm. (b) List all the candidate 4-sequences pruned during the candidate pruning step of the GSP algorithm (assuming no timing constraints) (c) List all the candidate 4-sequences pruned during the candidate pruning step of the GSP algorithm (assuming maxint = 1) 2. Find all the frequent subsequences with support >= 50% given the sequence database shown in the following table. Assume that there is no timing constraint imposed on the sequences. Example of event sequences generated by various sensors. Sensor Timestamp Events S1 1 A, B 2 C 3 D, E 4 C S2 1 A, B 2 C, D 3 E S3 1 B 2 A 3 B 4 D, E S4 1 C 2 D, E 3 C 4 E S5 1 B 2 A 3 B, C 4 A, D 3. The sequential pattern mining algorithm introduced by Srikant and Agrawal finds sequential patterns among a set of sequences. Although there have been interesting follow-up studies, such as the development of the algorithms SPADE, prefixSpan, and Clospan, the basic definition of “sequential pattern” has not changed. However, suppose we would like to find frequently occurring subsequences within one given sequence, where, say gaps are not allowed. (That is, we do not consider AG to be a subsequence of the sequence ATG.) For example, the string ATGCTCGAGCT contains a substring GCT with a support of 2. Derive an efficient algorithm that finds the complete set of subsequences satisfying a minimum support threshold. Show your algorithm in pseudo code. Explain how your algorithm works using a small example. 4. Suppose frequent subsequences have been mined from a sequence database, with a given minimum support, min_sup. The database can be updated in two cases: (1) adding new sequences (e.g. new customers buying items), and (2) appending new subsequences to some existing sequences (e.g. existing customers buying new items). For each case, work out an efficient incremental mining method that derives the complete subsequences satisfying min_sup, without mining the whole sequence database from scratch. 5. A classification model may change dynamically along with the changes of training data streams. This is known as concept drift. Explain why decision tree induction may not be a suitable method for such dynamically changing data sets. Is naïve Bayesian a better method on such data sets? Comparing with naïve Bayesian approach, is lazy evaluation (such as the k-nearest-neighbor approach) even better? Explain your reasoning.