% %TEACHASSIST Teaching Assistant Evaluation
%PRTools dataset import from UCI, 151 objects, 5 features, 3 classes
%
%  A = TEACHASSIST
%
%DESCRIPTION
%This command downloads one of the UCI data sets, converts it into PRTools
%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>
%for further information. Please make the appropriate references in
%publications that make use of this dataset.
%
%This dataset contains a number of categorical features with N > 2
%categories. They may be converted to N new real features by CAT2REAL.
%
%SEE ALSO <a href="http://prtools.tudelft.nl/prtools/">PRTools Guide</a>, <a href="http://archive.ics.uci.edu/ml/">UCI Website</a>
%PRTOOLS, DATASETS, SETFEATDOM, FEATTYPES, CAT2REAL

% Copyright: R.P.W. Duin 

function a = teachassist

a = pr_loadmatfile;

if isempty(a)
  a = pr_download_uci('Teaching+Assistant+Evaluation','tae.data');
  a = setfeatdom(a,{char([65:89]')},2);
  a = setfeatdom(a,{char([65:90]')},3);
  a = setlablist(a,char('low','medium','high'));
  a = setname(a,'Teaching Assistant Evaluation');
  a = pr_savematfile(a);
end



