1
% @(#)knn_tabl.hlq 19.1 (ESO-IPG) 02/25/03 13:27:05
2
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3
%.COPYRIGHT (c) 1990 European Southern Observatory
6
%.KEYWORDS MIDAS, help files, KNN/TAB
7
%.PURPOSE On-line help file for the command: KNN/TAB
8
%.VERSION 1.0 28-AUG-1986 : Creation, FM
9
%----------------------------------------------------------------
13
KNN/TAB 28-AUG-1986 FM
15
KNN/TAB training_table no._of_gp.1_members test_table no._of_NNs
19
K-Nearest Neighbours Discriminant Analysis.
21
Syntax: KNN/TAB training_table no._of_gp.1_members test_table no._of_NNs
23
input training = set table name.
25
number = first "number" rows of the input training
26
set belong to group 1; the remainder belong
29
test = set table name.
30
Number of nearest neighbours (default: 3)
36
KNN/TAB INTAB1 5 INTAB2
37
... takes first 5 rows of INTAB1 as group 1, remaining rows as
38
group 2, and determines best assignments for rows-points of
39
INTAB2. Screen output, only, is produced.