Visualization of the Abalone Dataset
The Abalone dataset contains 4177 entries in which each entry records the features of an abalone together with its age as the desired output. Characteristics of this dataset can be listed below.
- Data size: 4177 entries.
- Classes: 28 classes corresponding to the age from 1 to 29 years of abalones.
- Features: 8 features of an abalone's physical measurements, including Sex, Length, Diameter, Height, Whole weight, Shucked weight, Viscera weight, Shell weight
Contents
Class size distribution
We can display the data distribution among all classes, as follows:
DS=prData('abalone');
[classSize, classLabel]=dsClassSize(DS, 1);
8 features 4177 instances 28 classes
Plots of Classes vs. features
We can plot the classes w.r.t. each of the features:
DS = prData('abalone');
dsProjPlot1(DS);
2D scatter plot
We can have a scatter plot after projecting the dataset onto a 2D plane:
DS = prData('abalone');
opt.showAxisLabel=0;
opt.showAxisTick=0;
opt.showClassName=1;
dsProjPlot2(DS, opt);
3D scatter plot
We can have another scatter plot after projecting the dataset onto a 3D space, which generates C(8, 3) = 56 subplots, as follows:
DS = prData('abalone');
opt.showAxisLabel=0;
opt.showAxisTick=0;
opt.showClassName=1;
dsProjPlot3(DS, opt);
Copyright 2011-2016 Jyh-Shing Roger Jang.