% 1. Title: Glass Identification Database
% 
% 2. Sources:
%     (a) Creator: B. German
%         -- Central Research Establishment
%            Home Office Forensic Science Service
%            Aldermaston, Reading, Berkshire RG7 4PN
%     (b) Donor: Vina Spiehler, Ph.D., DABFT
%                Diagnostic Products Corporation
%                (213) 776-0180 (ext 3014)
%     (c) Date: September, 1987
% 
% 3. Past Usage:
%     -- Rule Induction in Forensic Science
%        -- Ian W. Evett and Ernest J. Spiehler
%        -- Central Research Establishment
%           Home Office Forensic Science Service
%           Aldermaston, Reading, Berkshire RG7 4PN
%        -- Unknown technical note number (sorry, not listed here)
%        -- General Results: nearest neighbor held its own with respect to the
%              rule-based system
% 
% 4. Relevant Information:n
%       Vina conducted a comparison test of her rule-based system, BEAGLE, the
%       nearest-neighbor algorithm, and discriminant analysis.  BEAGLE is 
%       a product available through VRS Consulting, Inc.; 4676 Admiralty Way,
%       Suite 206; Marina Del Ray, CA 90292 (213) 827-7890 and FAX: -3189.
%       In determining whether the glass was a type of "float" glass or not,
%       the following results were obtained (# incorrect answers):
% 
%              Type of Sample                            Beagle   NN    DA
%              Windows that were float processed (87)     10      12    21
%              Windows that were not:            (76)     19      16    22
% 
%       The study of classification of types of glass was motivated by 
%       criminological investigation.  At the scene of the crime, the glass left
%       can be used as evidence...if it is correctly identified!
% 
% 5. Number of Instances: 214
% 
% 6. Number of Attributes: 10 (including an Id#) plus the class attribute
%    -- all attributes are continuously valued
% 
% 7. Attribute Information:
%    1. Id number: 1 to 214
%    2. RI: refractive index
%    3. Na: Sodium (unit measurement: weight percent in corresponding oxide, as 
%                   are attributes 4-10)
%    4. Mg: Magnesium
%    5. Al: Aluminum
%    6. Si: Silicon
%    7. K: Potassium
%    8. Ca: Calcium
%    9. Ba: Barium
%   10. Fe: Iron
%   11. Type of glass: (class attribute)
%       -- 1 building_windows_float_processed
%       -- 2 building_windows_non_float_processed
%       -- 3 vehicle_windows_float_processed
%       -- 4 vehicle_windows_non_float_processed (none in this database)
%       -- 5 containers
%       -- 6 tableware
%       -- 7 headlamps
% 
% 8. Missing Attribute Values: None
% 
% Summary Statistics:
% Attribute:   Min     Max      Mean     SD      Correlation with class
%  2. RI:       1.5112  1.5339   1.5184  0.0030  -0.1642
%  3. Na:      10.73   17.38    13.4079  0.8166   0.5030
%  4. Mg:       0       4.49     2.6845  1.4424  -0.7447
%  5. Al:       0.29    3.5      1.4449  0.4993   0.5988
%  6. Si:      69.81   75.41    72.6509  0.7745   0.1515
%  7. K:        0       6.21     0.4971  0.6522  -0.0100
%  8. Ca:       5.43   16.19     8.9570  1.4232   0.0007
%  9. Ba:       0       3.15     0.1750  0.4972   0.5751
% 10. Fe:       0       0.51     0.0570  0.0974  -0.1879
% 
% 9. Class Distribution: (out of 214 total instances)
%     -- 163 Window glass (building windows and vehicle windows)
%        -- 87 float processed  
%           -- 70 building windows
%           -- 17 vehicle windows
%        -- 76 non-float processed
%           -- 76 building windows
%           -- 0 vehicle windows
%     -- 51 Non-window glass
%        -- 13 containers
%        -- 9 tableware
%        -- 29 headlamps
% 
% 
% 
%
%
%
%
% Relabeled values in attribute 'Type'
%    From: '1'                     To: 'build_wind_float'    
%    From: '2'                     To: 'build_wind_non-float'
%    From: '3'                     To: 'vehic_wind_float'    
%    From: '4'                     To: 'vehic_wind_non-float'
%    From: '5'                     To: containers          
%    From: '6'                     To: tableware           
%    From: '7'                     To: headlamps           
%
@relation Glass
@attribute 'RI' real
@attribute 'Na' real
@attribute 'Mg' real
@attribute 'Al' real
@attribute 'Si' real
@attribute 'K' real
@attribute 'Ca' real
@attribute 'Ba' real
@attribute 'Fe' real
@attribute 'Type' {'build_wind_float','build_wind_non-float','vehic_wind_float',containers,tableware,headlamps}
@data
1.51779,13.64,3.65,0.65,73,0.06,8.93,0,0,'vehic_wind_float'
1.52196,14.36,3.85,0.89,71.36,0.15,9.15,0,0,'build_wind_float'
1.5221,13.73,3.84,0.72,71.76,0.17,9.74,0,0,'build_wind_float'
1.52099,13.69,3.59,1.12,71.96,0.09,9.4,0,0,'build_wind_float'
1.52223,13.21,3.77,0.79,71.99,0.13,10.02,0,0,'build_wind_float'
1.51768,12.56,3.52,1.43,73.15,0.57,8.54,0,0,'build_wind_float'
1.51743,13.3,3.6,1.14,73.09,0.58,8.17,0,0,'build_wind_float'
1.51589,12.88,3.43,1.4,73.28,0.69,8.05,0,0.24,'build_wind_float'
1.51915,12.73,1.85,1.86,72.69,0.6,10.09,0,0,containers
1.52365,15.79,1.83,1.31,70.43,0.31,8.61,1.68,0,headlamps
1.51613,13.88,1.78,1.79,73.1,0,8.67,0.76,0,headlamps
1.51839,12.85,3.67,1.24,72.57,0.62,8.68,0,0.35,'build_wind_non-float'
1.51652,13.56,3.57,1.47,72.45,0.64,7.96,0,0,'build_wind_non-float'
1.5159,13.24,3.34,1.47,73.1,0.39,8.22,0,0,'build_wind_non-float'
1.51813,13.43,3.98,1.18,72.49,0.58,8.15,0,0,'build_wind_non-float'
1.51655,12.75,2.85,1.44,73.27,0.57,8.79,0.11,0.22,'build_wind_non-float'
1.51625,13.36,3.58,1.49,72.72,0.45,8.21,0,0,'build_wind_non-float'
1.5169,13.33,3.54,1.61,72.54,0.68,8.11,0,0,'build_wind_non-float'
1.5161,13.33,3.53,1.34,72.67,0.56,8.33,0,0,'vehic_wind_float'
1.51905,14,2.39,1.56,72.37,0,9.57,0,0,tableware
1.52043,13.38,0,1.4,72.25,0.33,12.5,0,0,containers
