k-means gives hard assignments. A Gaussian mixture model gives soft ones: each point belongs to each cluster with some probability. It's fitted by Expectation–Maximisation. Use 1-D data here.
Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.
Start 7-day free trial