Rev | Line | |
---|
[80] | 1 | %GLASS Glass Identification Dataset, 214 objects,9 features, 4 classes |
---|
| 2 | % |
---|
| 3 | % A = GLASS |
---|
| 4 | % |
---|
| 5 | % Load the dataset in A. This is a 4-class version of the originally |
---|
| 6 | % 7-class dataset describing the chemical components in several types of |
---|
| 7 | % glasses. The original class 4 is not available and we combined the |
---|
| 8 | % classes 5-7 as 'Other'. |
---|
| 9 | % BuildingFloat: -- building_windows_float_processed |
---|
| 10 | % BuildingNonFloat:-- building_windows_non_float_processed |
---|
| 11 | % Car: -- vehicle_windows_float_processed |
---|
| 12 | % Other: -- containers tableware headlamps |
---|
| 13 | % |
---|
| 14 | % REFERENCE: http://www.ics.uci.edu/~mlearn/databases/glass/glass.names |
---|
| 15 | % |
---|
| 16 | % See also DATASETS, PRDATASETS |
---|
| 17 | |
---|
[150] | 18 | % Copyright: R.P.W. Duin |
---|
[80] | 19 | % Faculty EWI, Delft University of Technology |
---|
| 20 | % P.O. Box 5031, 2600 GA Delft, The Netherlands |
---|
| 21 | |
---|
| 22 | function a = glass |
---|
| 23 | |
---|
[140] | 24 | a = pr_getdata; |
---|
[80] | 25 | a = setname(a,'Glass Identification Dataset'); |
---|
[122] | 26 | a = setlablist(a,char('BuildingFloat','BuildingNonFloat','Car','Other')); |
---|
| 27 | a = setfeatlab(a,char(... |
---|
[80] | 28 | 'refractive index', ... |
---|
| 29 | 'sodium', ... |
---|
| 30 | 'magnesium', ... |
---|
| 31 | 'aluminium', ... |
---|
| 32 | 'silicon', ... |
---|
| 33 | 'potassium', ... |
---|
| 34 | 'calcium', ... |
---|
| 35 | 'barium', ... |
---|
| 36 | 'iron')); |
---|
Note: See
TracBrowser
for help on using the repository browser.