source: prdatasets/auto_mpg.m @ 155

Last change on this file since 155 was 150, checked in by bduin, 5 years ago
File size: 983 bytes
RevLine 
[80]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%
[124]8% There are two classes: 229 objects < 25 mpg and 169 objects > 25 mpg.
[137]9% For some reason one of the original features is missing (horsepower).
[124]10%
[80]11% See also DATASETS, PRDATASETS
12
[150]13% Copyright: R.P.W. Duin
[80]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
[119]19function a = auto_mpg
[137]20
21a = pr_getdata;
[122]22a = setlablist(a,char('< 25 mpg ','> 25 mpg'));
23a = setfeatlab(a,char(...
[80]24        'cylinders: multi-valued discrete', ...
25        'displacement: continuous', ...
26        'weight: continuous', ...
27        'acceleration: continuous', ...
[124]28        'model year: multi-valued discrete', ...
29        'origin: multi-valued discrete'));
[137]30a = setname(a,'Auto MPG');
Note: See TracBrowser for help on using the repository browser.