This presentation introduces Iris Species Predictor, a Shiny app that classifies an iris flower into one of three species — setosa, versicolor, or virginica — based on four measurements entered by the user.
- Built on top of R’s classic built-in
irisdataset (150 flowers) - Uses a k-nearest-neighbours classifier (
k = 5) - Fully interactive: move 4 sliders, get an instant prediction and plot
Live app: https://YOUR-USERNAME.shinyapps.io/iris_predictor/