In this section, let's look through an example of how one would use Saddle for data analysis. In this case, we will use the IRIS dataset again. We used it when discussing data storage and retrieval. You can get the dataset from this website:
https://archive.ics.uci.edu/ml/machine-learning-databases/iris/
The data is stored in CSV format, where values are separated by commas. Download the the file iris.data
into the folder you used to test the Saddle examples in this chapter. Values are arranged in rows of five. The first value is sepal length in centimeters, the second value is sepal width in centimeters, the third value is petal length in centimeters, the fourth value is petal width in centimeters, and the fifth value is the name of the flower. The first thing we will want to do is to read the data in to a Saddle Frame. We want a frame where rows are labeled with an integer key and the columns represent one of the five attributes. We will label the columns accordingly...