Changeset 129


Ignore:
Timestamp:
04/18/19 20:39:46 (6 years ago)
Author:
bduin
Message:
 
Location:
prdatasets
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • prdatasets/iris.m

    r127 r129  
    55% Iris plants dataset by R.A.Fisher, 150 objects, 4 features, 3
    66% classes.
    7 function x = iris;
     7function x = iris
    88
    99prdatasets(mfilename,1,'http://prtools.tudelft.nl/prdatasets/iris.dat');
  • prdatasets/pr_dataset.m

    r91 r129  
    44
    55varargout = cell(1,nargout);
     6name = varargin{1};
     7if ischar(name)
     8  if isempty(fileparts(name))
     9    dirr = fileparts(which(callername));
     10    name = fullfile(dirr,name);
     11    varargin{1} = name;
     12  end
     13end   
    614if floor(prversion) == 4
    715  [varargout{:}] = dataset(varargin{:});
  • prdatasets/pr_getdata.m

    r123 r129  
    3434%  dset  : becomes full path and name of dataset
    3535%  ddir  : becomes full path of dataset
     36
    3637name = callername;
    3738argin = setdefaults(varargin,[],[],[],[],true);
  • prdatasets/twonorm.m

    r127 r129  
    2020
    2121prdatasets(mfilename,1);
    22 a = pr_dataset('twonorm');
     22dsetname = which(mfilename);
     23a = pr_dataset(dsetname(1,1:end-2));
    2324a = setname(a,'Twonorm Data');
    2425
  • prdatasets/x80.m

    r127 r129  
    2424function a = x80;
    2525
     26global ASK
    2627prdatasets('80x',1);
    2728a = pr_dataset('80x');
Note: See TracChangeset for help on using the changeset viewer.