Neural Network for Classification

Visualizing Decision Boundaries for the Iris Dataset

Iris Anatomy

Petal Sepal

The network learns to distinguish species based on the length and width of these two floral structures.

🌸

Iris Setosa

Typically has the smallest petals but wider sepals. Easily separable.

🌺

Iris Versicolor

Intermediate measurements. Often overlaps with Virginica in feature space.

🌻

Iris Virginica

Generally the largest species with the longest petals and sepals.

Decision Boundary Map

Accuracy: 0.00
Sepal Width (cm)
Sepal Length (cm)
Setosa
Versicolor
Virginica

Architecture (MLP)

2 Inputs → Hidden → 3 Outputs
Inputs Hidden Layer Outputs

Network Training