Rev | Line | |
---|
[80] | 1 | %ECOLI 336 objects with 7 features in 8 classes |
---|
| 2 | % |
---|
| 3 | % X = ECOLI |
---|
| 4 | % |
---|
| 5 | % Predict the localization site of protein in a cell, by Kenta Nakai |
---|
| 6 | % Institue of Molecular and Cellular Biology Osaka, University |
---|
| 7 | % This is the 'Ecoli' dataset of the UCI Machine Learning Repository, |
---|
| 8 | % //www.ics.uci.edu/~mlearn/MLRepository.html |
---|
| 9 | function x = ecoli |
---|
| 10 | |
---|
[127] | 11 | prdatasets(mfilename,1,'http://prtools.tudelft.nl/prdatasets/ecoli.dat'); |
---|
[80] | 12 | user.desc='The Ecoli database from UCI. Goal is to Predict the localization site of protein in a cell, by Kenta Nakai Institue of Molecular and Cellular Biology Osaka, University.'; |
---|
| 13 | user.link = 'ftp://ftp.ics.uci.edu/pub/machine-learning-databases/ecoli/'; |
---|
| 14 | cl = {'cytoplasm' 'inner membrane without signal sequence' ... |
---|
| 15 | 'periplasm' 'inner membrane, uncleavable signal sequence' ... |
---|
| 16 | 'outer membrane' 'outer membrane lipoprotein' ... |
---|
| 17 | 'inner membrane lipoprotein' 'inner membrane, cleavable signal sequence'}; |
---|
| 18 | fl = {'mcg' 'gvh' 'lip' 'chg' 'aac' 'alm1' 'alm2'}; |
---|
| 19 | |
---|
| 20 | a = load('ecoli.dat'); |
---|
[81] | 21 | x = pr_dataset(a(:,1:(end-1)),cl(a(:,end))); |
---|
[80] | 22 | x = setfeatlab(x,fl); |
---|
| 23 | x = setname(x,'Ecoli'); |
---|
| 24 | x = setuser(x,user); |
---|
| 25 | |
---|
| 26 | return |
---|
Note: See
TracBrowser
for help on using the repository browser.