source: prdatasets/auto_mpg.m @ 136

Last change on this file since 136 was 132, checked in by bduin, 5 years ago
File size: 1.0 KB
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.
9% For some reasons one of the original features is missing (horsepower).
10%
[80]11% See also DATASETS, PRDATASETS
12
[132]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
[132]20a = pr_getdata('http://prtools.tudelft.nl/prdatasets/auto_mpg.mat',1);
[124]21%a = setname(a,'Car-miles-per-gallon');
[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'));
Note: See TracBrowser for help on using the repository browser.