% 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.51796,13.5,3.36,1.63,71.94,0.57,8.81,0,0.09,'vehic_wind_float'
1.51751,12.81,3.57,1.35,73.02,0.62,8.59,0,0,'build_wind_float'
1.51763,12.8,3.66,1.27,73.01,0.6,8.56,0,0,'build_wind_float'
1.51596,12.79,3.61,1.62,72.97,0.64,8.07,0,0.26,'build_wind_float'
1.52667,13.99,3.7,0.71,71.57,0.02,9.82,0,0.1,'build_wind_float'
1.52213,14.21,3.82,0.47,71.77,0.11,9.57,0,0,'build_wind_float'
1.52213,14.21,3.82,0.47,71.77,0.11,9.57,0,0,'build_wind_float'
1.52227,14.17,3.81,0.78,71.35,0,9.69,0,0,'build_wind_float'
1.51514,14.01,2.68,3.5,69.89,1.68,5.87,2.2,0,containers
1.51838,14.32,3.26,2.22,71.25,1.46,5.79,1.63,0,headlamps
1.51131,13.69,3.2,1.81,72.81,1.76,5.43,1.19,0,headlamps
1.51627,13,3.58,1.54,72.83,0.61,8.04,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.51613,13.92,3.52,1.25,72.88,0.37,7.94,0,0.14,'build_wind_non-float'
1.51844,13.25,3.76,1.32,72.4,0.58,8.42,0,0,'build_wind_non-float'
1.52475,11.45,0,1.88,72.19,0.81,13.24,0,0.34,'build_wind_non-float'
1.5173,12.35,2.72,1.63,72.87,0.7,9.23,0,0,'build_wind_non-float'
1.51663,12.93,3.54,1.62,72.96,0.64,8.03,0,0.21,'build_wind_non-float'
1.52171,11.56,1.88,1.56,72.86,0.47,11.41,0,0,containers
1.52068,13.55,2.09,1.67,72.18,0.53,9.57,0.27,0.17,'build_wind_non-float'
