source: prdatasets/teachassist.m @ 153

Last change on this file since 153 was 150, checked in by bduin, 5 years ago
File size: 1.2 KB
RevLine 
[142]1% %TEACHASSIST Teaching Assistant Evaluation
2%PRTools dataset import from UCI, 151 objects, 5 features, 3 classes
3%
4%  A = TEACHASSIST
5%
6%DESCRIPTION
7%This command downloads one of the UCI data sets, converts it into PRTools
8%format and stores it locally for future use. Consult the <a href="http://archive.ics.uci.edu/ml/datasets/Teaching+Assistant+Evaluation">related website</a>
9%for further information. Please make the appropriate references in
10%publications that make use of this dataset.
11%
12%This dataset contains a number of categorical features with N > 2
13%categories. They may be converted to N new real features by CAT2REAL.
14%
[150]15%SEE ALSO <a href="http://prtools.tudelft.nl/prtools/">PRTools Guide</a>, <a href="http://archive.ics.uci.edu/ml/">UCI Website</a>
[142]16%PRTOOLS, DATASETS, SETFEATDOM, FEATTYPES, CAT2REAL
17
[150]18% Copyright: R.P.W. Duin
[142]19
20function a = teachassist
21
22a = pr_loadmatfile;
23
24if isempty(a)
25  a = pr_download_uci('Teaching+Assistant+Evaluation','tae.data');
26  a = setfeatdom(a,{char([65:89]')},2);
27  a = setfeatdom(a,{char([65:90]')},3);
28  a = setlablist(a,char('low','medium','high'));
29  a = setname(a,'Teaching Assistant Evaluation');
30  a = pr_savematfile(a);
31end
32
33
34
Note: See TracBrowser for help on using the repository browser.