Science Fair Projects Ideas - A priori algorithm

All Science Fair Projects

      

Science Fair Project Encyclopedia for Schools!

  Search    Browse    Forum  Coach    Links    Editor    Help    Tell-a-Friend    Encyclopedia    Dictionary     

Science Fair Project Encyclopedia

For information on any area of science that interests you,
enter a keyword (eg. scientific method, molecule, cloud, carbohydrate etc.).
Or else, you can start by choosing any of the categories below.

A priori algorithm

Apriori is an efficient association rule mining algorithm, developed by Agrawal et al (Agrawal 93, Agrawal 94)

Apriori (Agrawal 94) employs breadth-first search and uses a hash tree structure to count candidate item sets efficiently. The algorithm generates candidate item sets (patterns) of length k from k - 1 length item sets. Then, the patterns which have an infrequent sub pattern are pruned. According to the downward closure lemma , the generated candidate set contains all frequent k length item sets. Following that, the whole transaction database is scanned to determine frequent item sets among the candidates. For determining frequent items in a fast manner, the algorithm uses a hash tree to store candidate itemsets. Note: A hash tree has item sets at the leaves and hash tables at internal nodes (Zaki, 99).

Apriori is designed to operate on databases containing transactions (eg: collection of items bought by customers or details of a website frequentation). Other algorithms are designed for finding association rules in data having no transactions (Winepi and Minepi), or having no timestamps (dna sequencing).

Algorithm

Apriori(T,\varepsilon)

   L_1 \gets \{ large 1-itemsets }
   k \gets 2
   while L_{k-1} \neq \varnothing
       C_k \getsGenerate(Lk - 1)
       for transactions t \in T
           C_t \getsSubset(Ck,t)
           for candidates c \in C_t
               \mathrm{count}[c] \gets \mathrm{count}[c]+1
       L_k \gets \{ c \in C_k | ~ \mathrm{count}[c] \geq \varepsilon \}
       k \gets k+1
   return \bigcup_k L_k

References

  • Rakesh Agrawal and Tomasz Imielinski and Arun N. Swami, Mining Association Rules between Sets of Items in Large Databases, Proceedings of the 1993 ACM SIGMOD International Conference on Management of Data.
  • Rakesh Agrawal and Ramakrishnan Srikant, Fast Algorithms for Mining Association Rules, Proc. 20th Int. Conf. Very Large Data Bases (VLDB), 1994.
  • Heikki Mannila and Hannu Toivonen and A. Inkeri Verkamo, Efficient algorithms for discovering association rules, AAAI Workshop on Knowledge Discovery in Databases (KDD-94), 1994.
  • Mohammed Javeed Zaki and Srinivasan Parthasarathy and Mitsunori Ogihara and Wei Li, Parallel Algorithms for Discovery of Association Rules, Data Mining and Knowledge Discovery, 1997.
10-26-2009 08:16:03
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details
Science kits, science lessons, science toys, maths toys, hobby kits, science games and books - these are some of many products that can help give your kid an edge in their science fair projects, and develop a tremendous interest in the study of science. When shopping for a science kit or other supplies, make sure that you carefully review the features and quality of the products. Compare prices by going to several online stores. Read product reviews online or refer to magazines.

Start by looking for your science kit review or science toy review. Compare prices but remember, Price $ is not everything. Quality does matter.
Science Fair Coach
What do science fair judges look out for?
ScienceHound
Science Fair Projects for students of all ages
All Science Fair Projects.com Site
All Science Fair Projects Homepage
Search | Browse | Links | From-our-Editor | Books | Help | Contact | Privacy | Disclaimer | Copyright Notice