Changeset 123 for prdatasets/car.m
- Timestamp:
- 03/05/18 00:14:20 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
prdatasets/car.m
r116 r123 8 8 % 1(1), pp. 145-157, 1990.). All 6 features are nominal. 9 9 % The instances completely cover the attribute space. 10 10 11 function x = car 11 12 … … 16 17 user.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.).'; 17 18 fl = {'buying price' 'maintenance price' 'nr of doors' 'nr of persons' 'luggage boot' 'safety'}; 18 19 x = pr_readdataset('car.data',0,',',[],'ccccccc',7); 19 20 datfile = fullfile(fileparts(which(mfilename)),'car.data'); 21 x = pr_readdataset(datfile,0,',',[],'ccccccc',7); 20 22 x = setfeatlab(x,fl); 21 23 x = setuser(x,user);
Note: See TracChangeset
for help on using the changeset viewer.