% 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.51776,13.53,3.41,1.52,72.04,0.58,8.79,0,0,'vehic_wind_float'
1.51909,13.89,3.53,1.32,71.81,0.51,8.78,0.11,0,'build_wind_float'
1.51786,12.73,3.43,1.19,72.95,0.62,8.76,0,0.3,'build_wind_float'
1.51571,12.72,3.46,1.56,73.2,0.67,8.09,0,0.24,'build_wind_float'
1.51837,13.14,2.84,1.28,72.85,0.55,9.07,0,0,'build_wind_float'
1.52101,13.64,4.49,1.1,71.78,0.06,8.75,0,0,'build_wind_float'
1.519,13.49,3.48,1.35,71.95,0.55,9,0,0,'build_wind_float'
1.51797,12.74,3.48,1.35,72.96,0.64,8.68,0,0,'build_wind_float'
1.52058,12.85,1.61,2.17,72.18,0.76,9.7,0.24,0.51,containers
1.52365,15.79,1.83,1.31,70.43,0.31,8.61,1.68,0,headlamps
1.51609,15.01,0,2.51,73.05,0.05,8.83,0.53,0,headlamps
1.53125,10.73,0,2.1,69.81,0.58,13.3,3.15,0.28,'build_wind_non-float'
1.51674,12.79,3.52,1.54,73.36,0.66,7.9,0,0,'build_wind_non-float'
1.51674,12.87,3.56,1.64,73.14,0.65,7.99,0,0,'build_wind_non-float'
1.5166,12.99,3.18,1.23,72.97,0.58,8.81,0,0.24,'build_wind_non-float'
1.51806,13,3.8,1.08,73.07,0.56,8.38,0,0.12,'build_wind_non-float'
1.5159,12.82,3.52,1.9,72.86,0.69,7.97,0,0,'build_wind_non-float'
1.52725,13.8,3.15,0.66,70.57,0.08,11.64,0,0,'build_wind_non-float'
1.51299,14.4,1.74,1.54,74.55,0,7.59,0,0,tableware
1.51937,13.79,2.41,1.19,72.76,0,9.77,0,0,tableware
1.51969,14.56,0,0.56,73.48,0,11.22,0,0,tableware
1.52151,11.03,1.71,1.56,73.44,0.58,11.62,0,0,containers
1.52247,14.86,2.2,2.06,70.26,0.76,9.76,0,0,headlamps
