source: prdatasets/glass.m @ 160

Last change on this file since 160 was 150, checked in by bduin, 5 years ago
File size: 1.1 KB
Line 
1%GLASS Glass Identification Dataset, 214 objects,9 features, 4 classes
2%
3%       A = GLASS
4%
5% Load the dataset in A. This is a 4-class version of the originally
6% 7-class dataset describing the chemical components in several types of
7% glasses. The original class 4 is not available and we combined the
8% classes 5-7 as 'Other'.
9% BuildingFloat:   -- building_windows_float_processed
10% BuildingNonFloat:-- building_windows_non_float_processed
11% Car:             -- vehicle_windows_float_processed
12% Other:           -- containers tableware headlamps
13%
14% REFERENCE: http://www.ics.uci.edu/~mlearn/databases/glass/glass.names
15%
16% See also DATASETS, PRDATASETS
17
18% Copyright: R.P.W. Duin
19% Faculty EWI, Delft University of Technology
20% P.O. Box 5031, 2600 GA Delft, The Netherlands
21
22function a = glass
23
24a = pr_getdata;
25a = setname(a,'Glass Identification Dataset');
26a = setlablist(a,char('BuildingFloat','BuildingNonFloat','Car','Other'));
27a = setfeatlab(a,char(...
28        'refractive index', ...
29        'sodium', ...
30        'magnesium', ...
31                'aluminium', ...
32                'silicon', ...
33                'potassium', ...
34                'calcium', ...
35                'barium', ...
36                'iron'));
Note: See TracBrowser for help on using the repository browser.