at.tuwien.ifs.somtoolbox.data
Class SOMLibVectorNormalization
java.lang.Object
at.tuwien.ifs.somtoolbox.data.SOMLibVectorNormalization
- All Implemented Interfaces:
- SOMToolboxApp
public class SOMLibVectorNormalization
- extends Object
- implements SOMToolboxApp
Handles the normalization of vector files in SOMLib format. This class can be run in standalone mode taking two
arguments, i.e. input and output file. If the input file is gzip-compressed, the output will also be written
gzip-compressed. The .gz suffix has to be specified manually in order not to alter filenames to something other than
intended by the user.
Created on Mar 16, 2004
- Version:
- $Id: SOMLibVectorNormalization.java 3835 2010-10-08 14:45:09Z mayer $
- Author:
- Michael Dittenbach
Method Summary |
static void |
main(String[] args)
Static method for standalone invocation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
NONE
public static final int NONE
- No normalisation.
- See Also:
- Constant Field Values
UNIT_LEN
public static final int UNIT_LEN
- Normalise vectors to unit length.
- See Also:
- Constant Field Values
SOMLibVectorNormalization
public SOMLibVectorNormalization()
main
public static void main(String[] args)
- Static method for standalone invocation.
- Parameters:
args
- Usage: method-type input-filename output-filename