source: prdatasets/auto_mpg.m @ 141

Last change on this file since 141 was 137, checked in by bduin, 5 years ago
File size: 1006 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% There are two classes: 229 objects < 25 mpg and 169 objects > 25 mpg.
9% For some reason one of the original features is missing (horsepower).
10%
11% See also DATASETS, PRDATASETS
12
13% Copyright: R.P.W. Duin, r.p.w.duin@37steps.com
14% Faculty EWI, Delft University of Technology
15% P.O. Box 5031, 2600 GA Delft, The Netherlands
16
17% $Id: auto_mpg.m,v 1.1.1.1 2003/05/16 11:20:35 bob Exp $
18
19function a = auto_mpg
20
21a = pr_getdata;
22a = setlablist(a,char('< 25 mpg ','> 25 mpg'));
23a = setfeatlab(a,char(...
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'));
30a = setname(a,'Auto MPG');
Note: See TracBrowser for help on using the repository browser.