source: prdatasets/glass.m @ 86

Last change on this file since 86 was 81, checked in by bduin, 11 years ago
File size: 1.2 KB
RevLine 
[80]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, r.p.w.duin@prtools.org
19% Faculty EWI, Delft University of Technology
20% P.O. Box 5031, 2600 GA Delft, The Netherlands
21
22function a = glass
23
24prdatasets(mfilename,1);
[81]25a = pr_dataset('glass');
[80]26a = setname(a,'Glass Identification Dataset');
27a = setlablist(a,str2mat('BuildingFloat','BuildingNonFloat','Car','Other'));
28a = setfeatlab(a,str2mat(...
29        'refractive index', ...
30        'sodium', ...
31        'magnesium', ...
32                'aluminium', ...
33                'silicon', ...
34                'potassium', ...
35                'calcium', ...
36                'barium', ...
37                'iron'));
Note: See TracBrowser for help on using the repository browser.