%ANNEALING Steel annealing data %PRTools UCI dataset import, 798+100 objects, 38 features, 2 classes % % [TRAIN,TEST] = ANNEALING(VAL) % TRAIN_TEST = ANNEALING(VAL) % %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. % %This dataset contains a number of categorical features with N > 2 %categories. They may be converted to N new real features by CAT2REAL. % %Dataset has missing values. By default all features with missing values are %removed. Use VAL=NaN to avoid this. For other options see MISVAL. % %SEE ALSO PRTools Guide, UCI Website %PRTOOLS, DATASETS, SETFEATDOM, FEATTYPES, CAT2REAL, MISVAL % Copyright: R.P.W. Duin function varargout = annealing(val) if nargin<1 val = 'f-remove'; end varargout = cell(1,nargout); [varargout{:}] = pr_loadmatfile; if isempty(varargout{1}) opt.format = 'cccnncccncccccccccccccccccccccccnnncncc'; opt.dsetname = 'Steel Annealing Data'; [varargout{:}] = pr_download_uci('annealing',{'anneal.data','anneal.test'},opt); end varargout = varargout*misval(val);