-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcobweb_3.pl
executable file
·28 lines (22 loc) · 1.23 KB
/
cobweb_3.pl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/********************************************************************/
/* cobweb_3.pro Last modification: Sat 29 May 1992 15:37:04 */
/********************************************************************/
/********************************************************************/
/* COBWEB example data-set: Animal descriptions */
/* From D. Fisher: 'Knowledge Acquisition Via Incremental */
/* Conceptual Clustering', */
/* Machine Learning 2, 1991, page 142, Table 1 */
/********************************************************************/
% Description of the features (type and name)
features([[nominal,bodycover],
[nominal,heartchamber],
[nominal,bodytemp],
[nominal,fertilization]]).
% Description of the cases
% (first element: case-id (will not be used in clustering),
% rest: feature values in accordance to the description of features above)
case([reptile,cornified_skin,imperfect_four,unregulated,internal]).
case([bird,feathers,four,regulated,internal]).
case([amphipian,moist_skin,three,unregulated,external]).
case([fish,scales,two,unregulated,external]).
case([mammal,hair,four,regulated,internal]).