source: prdatasets/sonar.m @ 88

Last change on this file since 88 was 81, checked in by bduin, 11 years ago
File size: 917 bytes
RevLine 
[80]1%SONAR 208 objects with 60 features in 2 classes
2%
3%       X = SONAR
4%
5%This is the data set used by Gorman and Sejnowski in their study of the
6%classification of sonar signals using a neural network.  The task is to
7%train a network to discriminate between sonar signals bounced off a
8%metal cylinder and those bounced off a roughly cylindrical rock.
9
10function x = sonar
11
12prdatasets(mfilename,1,'http://prtools.org/prdatasets/sonar.dat');
13user.desc = 'The Sonar dataset from the undocumented databases from UCI. The task is to train a network to discriminate between sonar signals bounced off a metal cylinder and those bounced off a roughly cylindrical rock.';
14user.link = 'ftp://ftp.ics.uci.edu/pub/machine-learning-databases/undocumented/connectionist-bench/sonar';
15cl = {'mines' 'rocks'};
16a = load('sonar.dat');
17
[81]18x = pr_dataset(a(:,1:(end-1)),cl(a(:,end)));
[80]19x = setname(x,'Sonar');
20x = setuser(x,user);
21
22
23return
Note: See TracBrowser for help on using the repository browser.