source: prdatasets/auto_mpg.m @ 119

Last change on this file since 119 was 119, checked in by bduin, 8 years ago
File size: 902 bytes
Line 
1%AUTO_MPG Car/miles-per-gallon, 398 objects, 6 features, 2 classes
2%
3%       A = AUTO_MPG
4%
5% Load the dataset in A. This is the 'auto-mpg' dataset of the UCI
6% Machine Learning Repository, //www.ics.uci.edu/~mlearn/MLRepository.html
7%
8% See also DATASETS, PRDATASETS
9
10% Copyright: R.P.W. Duin, r.p.w.duin@prtools.org
11% Faculty EWI, Delft University of Technology
12% P.O. Box 5031, 2600 GA Delft, The Netherlands
13
14% $Id: auto_mpg.m,v 1.1.1.1 2003/05/16 11:20:35 bob Exp $
15
16function a = auto_mpg
17
18prdatasets(mfilename,1);
19a = pr_dataset('auto_mpg');
20a = setname(a,'Car-miles-per-gallon');
21
22a = setlablist(a,str2mat('< 25 mpg ','> 25 mpg'));
23a = setfeatlab(a,str2mat(...
24        'cylinders: multi-valued discrete', ...
25        'displacement: continuous', ...
26        'weight: continuous', ...
27        'acceleration: continuous', ...
28        'model year: multi-valued discrete', ...
29        'origin: multi-valued discrete'));
Note: See TracBrowser for help on using the repository browser.