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 | |
---|
| 18 | % Copyright: R.P.W. Duin, r.p.w.duin@prtools.org |
---|
| 19 | % Faculty EWI, Delft University of Technology |
---|
| 20 | % P.O. Box 5031, 2600 GA Delft, The Netherlands |
---|
| 21 | |
---|
| 22 | function a = glass |
---|
| 23 | |
---|
| 24 | prdatasets(mfilename,1); |
---|
[81] | 25 | a = pr_dataset('glass'); |
---|
[80] | 26 | a = setname(a,'Glass Identification Dataset'); |
---|
[122] | 27 | a = setlablist(a,char('BuildingFloat','BuildingNonFloat','Car','Other')); |
---|
| 28 | a = setfeatlab(a,char(... |
---|
[80] | 29 | 'refractive index', ... |
---|
| 30 | 'sodium', ... |
---|
| 31 | 'magnesium', ... |
---|
| 32 | 'aluminium', ... |
---|
| 33 | 'silicon', ... |
---|
| 34 | 'potassium', ... |
---|
| 35 | 'calcium', ... |
---|
| 36 | 'barium', ... |
---|
| 37 | 'iron')); |
---|
Note: See
TracBrowser
for help on using the repository browser.