% 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.51646,13.04,3.4,1.26,73.01,0.52,8.58,0,0,'vehic_wind_float'
1.51618,13.53,3.55,1.54,72.99,0.39,7.78,0,0,'build_wind_float'
1.52172,13.48,3.74,0.9,72.01,0.18,9.61,0,0.07,'build_wind_float'
1.51769,12.45,2.71,1.29,73.7,0.56,9.06,0,0.24,'build_wind_float'
1.51763,12.8,3.66,1.27,73.01,0.6,8.56,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.51215,12.99,3.47,1.12,72.98,0.62,8.35,0,0.31,'build_wind_float'
1.51784,12.68,3.67,1.16,73.11,0.61,8.7,0,0,'build_wind_float'
1.51915,12.73,1.85,1.86,72.69,0.6,10.09,0,0,containers
1.51658,14.8,0,1.99,73.11,0,8.28,1.71,0,headlamps
1.51131,13.69,3.2,1.81,72.81,1.76,5.43,1.19,0,headlamps
1.52222,14.43,0,1,72.67,0.1,11.52,0,0.08,'build_wind_non-float'
1.51592,12.86,3.52,2.12,72.66,0.69,7.97,0,0,'build_wind_non-float'
1.51667,12.94,3.61,1.26,72.75,0.56,8.6,0,0,'build_wind_non-float'
1.52081,13.78,2.28,1.43,71.99,0.49,9.85,0,0.17,'build_wind_non-float'
1.51687,13.23,3.54,1.48,72.84,0.56,8.1,0,0,'build_wind_non-float'
1.51829,13.24,3.9,1.41,72.33,0.55,8.31,0,0.1,'build_wind_non-float'
1.51613,13.92,3.52,1.25,72.88,0.37,7.94,0,0.14,'build_wind_non-float'
1.51115,17.38,0,0.34,75.41,0,6.65,0,0,tableware
1.51829,14.46,2.24,1.62,72.38,0,9.26,0,0,tableware
1.51618,13.01,3.5,1.48,72.89,0.6,8.12,0,0,'build_wind_non-float'
1.51646,13.41,3.55,1.25,72.81,0.68,8.1,0,0,'build_wind_non-float'
