This textbook gives an in-depth discussion of basic principles and practical techniques of data mining and data warehousing. Theoretical concepts are discussed in detail with the help of practical examples. It covers data mining tools and language such as Weka and R language.