Last change
on this file since 151 was
142,
checked in by bduin, 5 years ago
|
Updated collection of datasets
|
File size:
920 bytes
|
Line | |
---|
1 | %DIABETES 768 objects with 8 features in 2 classes |
---|
2 | % |
---|
3 | % X = DIABETES |
---|
4 | % |
---|
5 | % Pima-indians diabetes database from National Institute of Diabetes and |
---|
6 | % Digestive and Kidney Diseases. This is the 'Pima Indians Diabetes' |
---|
7 | % dataset of the UCI Machine Learning Repository, |
---|
8 | % //www.ics.uci.edu/~mlearn/MLRepository.html |
---|
9 | |
---|
10 | function a = diabetes |
---|
11 | |
---|
12 | a = pr_loadmatfile; |
---|
13 | if isempty(a) |
---|
14 | opt.delimeter = ' '; |
---|
15 | opt.labfeat = 9; |
---|
16 | opt.featnames = {'NumPregnancies' 'plasmaGlucose' 'diastolicBloodPr' ... |
---|
17 | 'tricepsSkinfold' '2hrSerumInsulin' 'BodyMassIndex' ... |
---|
18 | 'DiabetesPedigreeFn' 'Age'}; |
---|
19 | opt.classnames = {'present' 'absent'}; |
---|
20 | opt.link = 'ftp://ftp.ics.uci.edu/pub/machine-learning-databases/pima-indians-diabetes/'; |
---|
21 | opt.desc = 'The Pima Indians Diabetes Database from UCI.'; |
---|
22 | opt.dsetname = 'Diabetes Dataset'; |
---|
23 | a = pr_download('http://prtools.tudelft.nl/prdatasets/diabetes.dat',[],opt); |
---|
24 | end |
---|
25 | |
---|
26 | return |
---|
Note: See
TracBrowser
for help on using the repository browser.