Glass: Glass Identification Database

GlassR Documentation

Glass Identification Database


A data frame with 214 observation containing examples of the chemical analysis of 7 different types of glass. The problem is to forecast the type of class on basis of the chemical analysis. 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!).


data("Glass", package = "mlbench")


A data frame with 214 observations on 10 variables:

[,1] RI refractive index
[,2] Na Sodium
[,3] Mg Magnesium
[,4] Al Aluminum
[,5] Si Silicon
[,6] K Potassium
[,7] Ca Calcium
[,8] Ba Barium
[,9] Fe Iron
[,10] Type Type of glass (class attribute)


  • Creator: B. German, Central Research Establishment, Home Office Forensic Science Service, Aldermaston, Reading, Berkshire RG7 4PN

  • Donor: Vina Spiehler, Ph.D., DABFT, Diagnostic Products Corporation

These data have been taken from the UCI Repository Of Machine Learning Databases (Blake & Merz 1998) and were converted to R format by Friedrich Leisch in the late 1990s.

The current version of the UC Irvine Machine Learning Repository Glass Identification data set is available from \Sexpr[results=rd]{tools:::Rd_expr_doi("10.24432/C5WW2P")}.


Blake, C.L. & Merz, C.J. (1998). UCI Repository of Machine Learning Databases. Irvine, CA: University of California, Irvine, Department of Information and Computer Science. Formerly available from ‘⁠⁠’.


data("Glass", package = "mlbench")

mlbench documentation built on May 29, 2024, 4:49 a.m.

Related to Glass in mlbench...