blob_classify_logistic_multi, a scikit-learn code which uses multiple applications of logistic regression to classify an artificial dataset of three groups of "blobs".
Logistic regression can only seek a boundary that splits data into two groups. If we have three groups, we can nonetheless use logistic regression three times, finding boundarys 0 versus 1 and 2, 1 versus 0 and 2, and 2 versus 0 and 1.
The computer code and data files described and made available on this web page are distributed under the MIT license