Changeset 124


Ignore:
Timestamp:
03/05/18 00:14:58 (7 years ago)
Author:
bduin
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • prdatasets/auto_mpg.m

    r122 r124  
    55% Load the dataset in A. This is the 'auto-mpg' dataset of the UCI
    66% 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).
    710%
    811% See also DATASETS, PRDATASETS
     
    1518
    1619function a = auto_mpg
    17 
    18 prdatasets(mfilename,1);
    19 a = pr_dataset('auto_mpg');
    20 a = setname(a,'Car-miles-per-gallon');
    21 
     20a = pr_getdata('http://37steps.com/data/prdatasets/auto_mpg.mat',1);
     21%a = setname(a,'Car-miles-per-gallon');
    2222a = setlablist(a,char('< 25 mpg ','> 25 mpg'));
    2323a = setfeatlab(a,char(...
     
    2626        'weight: continuous', ...
    2727        'acceleration: continuous', ...
    28         'model year: multi-valued discrete', ...
    29         'origin: multi-valued discrete'));
     28        'model year: multi-valued discrete', ...
     29        'origin: multi-valued discrete'));
Note: See TracChangeset for help on using the changeset viewer.