Data mining involves finding hidden patterns in large datasets. It differs from traditional data access in that the query may be unclear, the data has been preprocessed, and the output is an analysis rather than a data subset. Data mining algorithms attempt to fit models to the data by examining attributes, criteria for preference of one model over others, and search techniques. Common data mining tasks include classification, regression, clustering, association rule learning, and prediction.