In unsupervised learning, the algorithm is trained with unlabeled or raw data. The algorithm identifies patterns in the data and clusters similar data points together. Some unsupervised learning techniques include clustering, association rule mining, and dimensionality reduction.