Skip to content

Step 1: Prepare the Dataset

In this guide, we will use the "Iris Data Set" as an example. This dataset is available for download and contains measurements of iris flowers, such as sepal length, sepal width, petal length, petal width, and species.

First, download the dataset from the UCI Machine Learning Repository to your machine.

Download dataset
wget https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data -O iris.data
wget https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.names -O iris.names

Download dataset

wget https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data -O iris.data
wget https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.names -O iris.names
wget https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data -O iris.data
wget https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.names -O iris.names