Last change
on this file since 80 was
80,
checked in by dtax, 11 years ago
|
Creator files for prtools datasets.
|
File size:
1.1 KB
|
Line | |
---|
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 | |
---|
11 | prdatasets(mfilename,1,'http://prtools.org/prdatasets/ecoli.dat'); |
---|
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'); |
---|
21 | x = prdataset(a(:,1:(end-1)),cl(a(:,end))); |
---|
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.