databionics.esom.renderer.background
Class SmoothedDataHistoRenderer

java.lang.Object
  extended by databionics.esom.renderer.background.BackgroundRenderer
      extended by databionics.esom.renderer.background.SmoothedDataHistoRenderer
All Implemented Interfaces:
BmChangeListener, LrnChangeListener, ParamChangeListener, WtsChangeListener

public class SmoothedDataHistoRenderer
extends BackgroundRenderer

Smoothed Data Histogram (SDH) background renderer as proposed by Pampalk. Each neuron acts as a histogram bin. Each data point throws decreasing weights in the k closest neurons bins.


Field Summary
protected static org.apache.log4j.Logger log
          interface to log4j system
protected  int smoothFactor
          the smooth parameter
 
Fields inherited from class databionics.esom.renderer.background.BackgroundRenderer
bmChanged, cacheMatrix, lrnChanged, paramChanged, renderer, wtsChanged
 
Constructor Summary
SmoothedDataHistoRenderer()
          Standard constructor
 
Method Summary
 int getSmoothFactor()
          Get the smooth parameter
 void init()
          Optional initialization of background renderer.
 boolean isColorBackground()
          Whether this background renderer returns color matrix.
 cern.colt.matrix.DoubleMatrix2D render(Renderer renderer)
          Calculate the height above each neuron with the SDH method.
 void setSmoothFactor(int smoothFactor)
          Set the smooth parameter
 
Methods inherited from class databionics.esom.renderer.background.BackgroundRenderer
bmChanged, getCaption, getRenderer, lrnChanged, paramChanged, resetCache, setRenderer, wtsChanged
 
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


smoothFactor

protected int smoothFactor
the smooth parameter

Constructor Detail

SmoothedDataHistoRenderer

public SmoothedDataHistoRenderer()
Standard constructor

Method Detail

render

public cern.colt.matrix.DoubleMatrix2D render(Renderer renderer)
Calculate the height above each neuron with the SDH method.

Specified by:
render in class BackgroundRenderer
Parameters:
renderer - The invoking Renderer

isColorBackground

public boolean isColorBackground()
Description copied from class: BackgroundRenderer
Whether this background renderer returns color matrix. If false a height matrix is returned.

Specified by:
isColorBackground in class BackgroundRenderer
Returns:
true if this BackgroundRenderer returns colors, false if heights

init

public void init()
Description copied from class: BackgroundRenderer
Optional initialization of background renderer.

Overrides:
init in class BackgroundRenderer

getSmoothFactor

public int getSmoothFactor()
Get the smooth parameter


setSmoothFactor

public void setSmoothFactor(int smoothFactor)
Set the smooth parameter



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