Abstract:An automatic data mining algorithms based on grammar guided genetic programming(GGP) is studied. The rule induction algorithm is a typical data classification method. The grammar guided genetic programming is used to improve the rule induction algorithm, and then proposed an algorithm of automatic extraction rules. Finally, associated with the TV shopping programs, and gives examples of automatic extraction rules based on the grammar of genetic programming.