at.tuwien.ifs.somtoolbox.output.labeling
Class LabelSOM

java.lang.Object
  extended by at.tuwien.ifs.somtoolbox.output.labeling.AbstractLabeler
      extended by at.tuwien.ifs.somtoolbox.output.labeling.LabelSOM
All Implemented Interfaces:
SOMToolboxApp, Labeler

public class LabelSOM
extends AbstractLabeler
implements Labeler, SOMToolboxApp

Implements the LabelSOM labelling method, as described in A. Rauber, and D. Merkl: Automatic Labeling of Self-Organizing Maps for Information Retrieval In: Journal of Systems Research and Information Systems (JSRIS), Vol. 10, Nr. 10, pp 23-45, OPA, Gordon and Breach Science Publishers, December 2001.

Version:
$Id: LabelSOM.java 3883 2010-11-02 17:13:23Z frank $
Author:
Michael Dittenbach

Nested Class Summary
 
Nested classes/interfaces inherited from interface at.tuwien.ifs.somtoolbox.apps.SOMToolboxApp
SOMToolboxApp.Type
 
Field Summary
static SOMToolboxApp.Type APPLICATION_TYPE
           
static String DESCRIPTION
           
static String LONG_DESCRIPTION
           
static com.martiansoftware.jsap.Parameter[] OPTIONS
           
 
Fields inherited from interface at.tuwien.ifs.somtoolbox.apps.SOMToolboxApp
DEV_BY_STRING, HOMEPAGE, REQUIRED_MEMBERS, TYPE_GROUPED_COMPARATOR
 
Constructor Summary
LabelSOM()
           
 
Method Summary
 void label(GHSOM ghsom, InputData data, int num)
           
 void label(GrowingSOM gsom, InputData data, int num)
          Determines and adds labels to the units of a GrowingSOM (should be NetworkModel in the future).
 void label(GrowingSOM gsom, InputData data, int num, boolean ignoreLabelsWithZero)
           
static void main(String[] args)
          Method for stand-alone execution of map labelling.
 
Methods inherited from class at.tuwien.ifs.somtoolbox.output.labeling.AbstractLabeler
instantiate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPTIONS

public static final com.martiansoftware.jsap.Parameter[] OPTIONS

DESCRIPTION

public static final String DESCRIPTION
See Also:
Constant Field Values

LONG_DESCRIPTION

public static final String LONG_DESCRIPTION
See Also:
Constant Field Values

APPLICATION_TYPE

public static final SOMToolboxApp.Type APPLICATION_TYPE
Constructor Detail

LabelSOM

public LabelSOM()
Method Detail

main

public static void main(String[] args)
Method for stand-alone execution of map labelling. Options are:

Parameters:
args - the execution arguments as stated above.

label

public void label(GHSOM ghsom,
                  InputData data,
                  int num)
Specified by:
label in interface Labeler

label

public void label(GrowingSOM gsom,
                  InputData data,
                  int num)
Description copied from interface: Labeler
Determines and adds labels to the units of a GrowingSOM (should be NetworkModel in the future).

Specified by:
label in interface Labeler
Parameters:
gsom - The GrowingSOM to be labeled.
data - The data that is already mapped onto the GrowingSOM
num - The number of labels per node.

label

public void label(GrowingSOM gsom,
                  InputData data,
                  int num,
                  boolean ignoreLabelsWithZero)
Specified by:
label in interface Labeler