Changeset 124
- Timestamp:
- 03/05/18 00:14:58 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
prdatasets/auto_mpg.m
r122 r124 5 5 % Load the dataset in A. This is the 'auto-mpg' dataset of the UCI 6 6 % Machine Learning Repository, //www.ics.uci.edu/~mlearn/MLRepository.html 7 % 8 % There are two classes: 229 objects < 25 mpg and 169 objects > 25 mpg. 9 % For some reasons one of the original features is missing (horsepower). 7 10 % 8 11 % See also DATASETS, PRDATASETS … … 15 18 16 19 function a = auto_mpg 17 18 prdatasets(mfilename,1); 19 a = pr_dataset('auto_mpg'); 20 a = setname(a,'Car-miles-per-gallon'); 21 20 a = pr_getdata('http://37steps.com/data/prdatasets/auto_mpg.mat',1); 21 %a = setname(a,'Car-miles-per-gallon'); 22 22 a = setlablist(a,char('< 25 mpg ','> 25 mpg')); 23 23 a = setfeatlab(a,char(... … … 26 26 'weight: continuous', ... 27 27 'acceleration: continuous', ... 28 29 28 'model year: multi-valued discrete', ... 29 'origin: multi-valued discrete'));
Note: See TracChangeset
for help on using the changeset viewer.