%PENDIGITS Pen-based recognition of handwritten digits
%PRTools dataset import from UCI, 7494+3498 objects, 16 features, 10 classes
%
% [TRAIN,TEST] = PENDIGITS
% TRAIN_TEST = PENDIGITS
%
%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
function [a,b] = pendigits
[a,b] = pr_download_uci('Pen-Based+Recognition+of+Handwritten+Digits',{'pendigits.tra','pendigits.tes'});
a = setname(a,'Pen Based Handwritten Digits');
b = setname(b,'Pen Based Handwritten Digits');
if nargout < 2, a = [a;b]; end