liveBook · Manning

Iris dataset

The Iris dataset is a labeled collection of 150 iris specimens from three species, each represented by four sepal and petal measurements.

How 2 Manning books explain it

Classic Computer Science Problems in Swift: Essential techniques for practicing programmers

The iris dataset is a labeled collection of 150 iris-plant samples from three species, each represented by four measured attributes.

How it is used
Uses a small labeled dataset to demonstrate multiclass classification with a neural network.
How deep it goes
Explains the dataset structure and demonstrates parsing, training, and validation, but does not develop its historical collection or statistical properties.
Examples
Uses CSV rows, one-hot species classifications, a four-six-three network, and a 140/10 training-validation split.
What you can do after
Apply it via Swift neural-network code to parse, train on, and validate a three-class classifier.

Read how Classic Computer Science Problems in Swift: Essential techniques for practicing programmers explains iris dataset →

Data Without Labels

The Iris dataset is a labeled collection of flower measurements covering three iris species, with 50 samples per species.

How it is used
Uses flower measurements to demonstrate prediction, PCA, dimensionality reduction, and clustering workflows.
How deep it goes
Walks through loading, checking, separating, standardizing, decomposing, measuring variance, and plotting, but does not detail classifier evaluation.
Examples
Uses a 150-row CSV, four measurement variables, three species labels, covariance output, explained-variance plots, and a two-component scatter plot.
What you can do after
Apply PCA via scikit-learn to standardize measurements, reduce dimensions, inspect explained variance, and visualize species-labeled observations.

Read how Data Without Labels explains iris dataset →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.