% 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.51694,12.86,3.58,1.31,72.61,0.61,8.79,0,0,'vehic_wind_float'
1.51754,13.39,3.66,1.19,72.79,0.57,8.27,0,0.11,'build_wind_float'
1.51756,13.15,3.61,1.05,73.24,0.57,8.24,0,0,'build_wind_float'
1.51909,13.89,3.53,1.32,71.81,0.51,8.78,0.11,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.51761,12.81,3.54,1.23,73.24,0.58,8.39,0,0,'build_wind_float'
1.523,13.31,3.58,0.82,71.99,0.12,10.17,0,0.03,'build_wind_float'
1.52152,13.05,3.65,0.87,72.32,0.19,9.85,0,0.17,'build_wind_float'
1.52151,11.03,1.71,1.56,73.44,0.58,11.62,0,0,containers
1.51602,14.85,0,2.38,73.28,0,8.76,0.64,0.09,headlamps
1.51653,11.95,0,1.19,75.18,2.7,8.93,0,0,headlamps
1.51646,13.41,3.55,1.25,72.81,0.68,8.1,0,0,'build_wind_non-float'
1.51618,13.01,3.5,1.48,72.89,0.6,8.12,0,0,'build_wind_non-float'
1.52614,13.7,0,1.36,71.24,0.19,13.44,0,0.1,'build_wind_non-float'
1.51789,13.19,3.9,1.3,72.33,0.55,8.44,0,0.28,'build_wind_non-float'
1.51846,13.41,3.89,1.33,72.38,0.51,8.28,0,0,'build_wind_non-float'
1.51707,13.48,3.48,1.71,72.52,0.62,7.99,0,0,'build_wind_non-float'
1.51605,12.9,3.44,1.45,73.06,0.44,8.27,0,0,'build_wind_non-float'
1.51831,14.39,0,1.82,72.86,1.41,6.47,2.88,0,headlamps
1.51732,14.95,0,1.8,72.99,0,8.61,1.55,0,headlamps
