Introduction

The Machine Learning Toolbox uses several datasets to demonstrate the concepts of data clustering and pattern recognition. For pattern recognition, the following 3 dataset are commonly used:

In fact, these datasets are available from UCI Machine Learning Repository, which is maintained by Donald Bren School of Information and Computer Science at University of California at Irvine. There are numerous dataset in this website together with their documentations, so researchers on machine learning can use these common datasets for fair evaluation and comparisons. In order to facility the access of the dataset via MATLAB, we usually use a structure variable DS (dataset) for storing all the information of a dataset, as explained next:

Also we have prepared a function prData.m for returning these three datasets. For instance, if you want to read the commonly used IRIS dataset, please follow next example:

DS = prData('iris')
DS = 

  struct with fields:

      dataName: 'iris'
     inputName: {'sepal length'  'sepal width'  'petal length'  'petal width'}
    outputName: {'Setosa'  'Versicolour'  'Virginica'}
         input: [4×150 double]
        output: [1×150 double]

From the above example, we know that:

Based on the dataset DS, we have prepared funtions for analyzing and visualizing the dataset along different perspectives:

Copyright 2011-2016 Jyh-Shing Roger Jang.