%OPTDIGITS Optical Recognition of Handwritten Digits
%PRTools UCI dataset import, 3823+1797 objects, 64 integer features, 10 classes
%
% [TRAIN,TEST] = OPTDIGITS
% TRAIN_TEST = OPTDIGITS
%
%DESCRIPTION
%This command downloads one of the UCI data sets, converts it into PRTools
%format and stores it locally for future use. Consult the related website
%for further information. Please make the appropriate references in
%publications that make use of this dataset.
%
%SEE ALSO PRTools Guide, UCI Website
%PRTOOLS, DATASETS, SETFEATDOM, FEATTYPES, CAT2REAL
% Copyright: R.P.W. Duin
function [a,b] = optdigits
[a,b] = pr_download_uci('Optical+Recognition+of+Handwritten+Digits',{'optdigits.tra','optdigits.tes'});
a = setname(a,'Optical Digit Recognition');
b = setname(b,'Optical Digits');
if nargout < 2, a = [a;b]; end