databionics.esom.train
Class OnlineSOM

java.lang.Object
  extended by databionics.esom.train.SOM
      extended by databionics.esom.train.OnlineSOM

public class OnlineSOM
extends SOM

Implementation of the standard SOM training by pattern: The update of the best matching neuron and its neighbors is done right after the best match search for the curent pattern.


Field Summary
protected static org.apache.log4j.Logger log
          interface to log4j system
 
Fields inherited from class databionics.esom.train.SOM
bestmatches, bmSearch, bmStat, bmStatNeeded, center, classes, count, data, descriptives, distanceFunction, distances, epoch, epochs, grid, initMethod, keys, lrn, neighborhood, neuron, nf, offline, oldBestmatches, online, pattern, permutation, permutations, permute, qerror, radius, radiusCooling, random, rate, rateCooling, saveEpoch, saveEpoches, savePrefix, saveUMatrix, view
 
Constructor Summary
OnlineSOM()
          Standard constructor
 
Method Summary
 void update(cern.colt.matrix.DoubleMatrix1D vector, int bm, int pos)
          Update the current neuron and the neighborhood
 
Methods inherited from class databionics.esom.train.SOM
afterEpoch, afterUpdate, beforeEpoch, beforeSearch, beforeUpdate, calcQerror, centerMap, cool, getBestMatches, getBmSearch, getData, getDescriptives, getDistance, getDistance, getDistanceFunction, getDistances, getEpochs, getGrid, getKeys, getNeighborhood, getNumberFormat, getOldBestmatches, getPattern, getPermutation, getPermute, getRadius, getRadiusCooling, getRateCooling, init, isBmStatNeeded, isCenter, loadCls, loadData, saveBestMatches, setBestMatches, setBestMatches, setBmSearch, setBmStatNeeded, setCenter, setData, setDistanceFunction, setDistances, setEpochs, setGrid, setInit, setKeys, setNeighborhood, setNumberFormat, setOldBestmatches, setOnline, setPermute, setRadiusCooling, setRateCooling, setSaveEpoch, setSaveEpochBoolean, setSavePrefix, setSaveUMatrix, stop, train, updateNeighborhood, updateNeuron
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.log4j.Logger log
interface to log4j system

Constructor Detail

OnlineSOM

public OnlineSOM()
Standard constructor

Method Detail

update

public void update(cern.colt.matrix.DoubleMatrix1D vector,
                   int bm,
                   int pos)
Update the current neuron and the neighborhood

Specified by:
update in class SOM
Parameters:
vector - vector of data
bm - index of bestmatching neuron


Copyright © 2005-2006 Databionics Research Group. All Rights Reserved.