How Data Mining Works: A Guide. Data mining is the process of understanding data through cleaning raw data, finding patterns, creating models, and testing those models. It includes statistics, machine learning, and database systems. Data mining often includes multiple data projects, so it's easy to confuse it with analytics, data governance ...