Changeset 123 for prdatasets/car.m


Ignore:
Timestamp:
03/05/18 00:14:20 (7 years ago)
Author:
bduin
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • prdatasets/car.m

    r116 r123  
    88% 1(1), pp. 145-157, 1990.). All 6 features are nominal.
    99% The instances completely cover the attribute space.
     10
    1011function x = car
    1112
     
    1617user.desc = 'Car Evaluation Database was derived from a simple hierarchical decision model originally developed for the demonstration of DEX (M. Bohanec, V. Rajkovic: Expert system for decision making. Sistemica 1(1), pp. 145-157, 1990.).';
    1718fl = {'buying price' 'maintenance price' 'nr of doors' 'nr of persons' 'luggage boot' 'safety'};
    18 
    19 x = pr_readdataset('car.data',0,',',[],'ccccccc',7);
     19 
     20datfile = fullfile(fileparts(which(mfilename)),'car.data');
     21x = pr_readdataset(datfile,0,',',[],'ccccccc',7);
    2022x = setfeatlab(x,fl);
    2123x = setuser(x,user);
Note: See TracChangeset for help on using the changeset viewer.