|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object databionics.esom.renderer.background.BackgroundRenderer databionics.esom.renderer.background.PMatrixRenderer
public class PMatrixRenderer
P-Matrix background renderer. The height is the Pareto density of the data evaluated at the neuron.
Field Summary | |
---|---|
protected static org.apache.log4j.Logger |
log
interface to log4j system |
protected ParetoDensity |
pdens
cache distance percentiles |
protected int |
percentile
percentile parameter |
protected double |
radius
radius parameter |
protected boolean |
useRadius
flag whether to use radius instead of percentile |
Fields inherited from class databionics.esom.renderer.background.BackgroundRenderer |
---|
bmChanged, cacheMatrix, lrnChanged, paramChanged, renderer, wtsChanged |
Constructor Summary | |
---|---|
PMatrixRenderer()
Standard constructor |
|
PMatrixRenderer(double radius)
Constructor with radius. |
|
PMatrixRenderer(int percentile)
Constructor with percentile. |
Method Summary | |
---|---|
ParetoDensity |
getParetoDensity()
Get the densitsy estimation used for the P-Matrix |
int |
getPercentile()
Get the percentile parameter |
double |
getRadius()
Get the radius parameter. |
void |
init()
Optional initialization of background renderer. |
void |
init(Renderer 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 P-Matrix method. |
void |
setPercentile(int percentile)
Set the percentile parameter |
void |
setRadius()
Set the radius parameter to the pareto radius |
void |
setRadius(double radius)
Set the radius 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 |
---|
protected static final org.apache.log4j.Logger log
protected int percentile
protected double radius
protected boolean useRadius
protected ParetoDensity pdens
Constructor Detail |
---|
public PMatrixRenderer()
public PMatrixRenderer(double radius)
public PMatrixRenderer(int percentile)
Method Detail |
---|
public void init(Renderer renderer)
public cern.colt.matrix.DoubleMatrix2D render(Renderer renderer)
render
in class BackgroundRenderer
renderer
- The invoking Rendererpublic boolean isColorBackground()
BackgroundRenderer
isColorBackground
in class BackgroundRenderer
public ParetoDensity getParetoDensity()
public int getPercentile()
public void setPercentile(int percentile)
percentile
- The distance percentile to use for the radius.public double getRadius()
public void setRadius(double radius)
radius
- The radius to set.public void setRadius()
public void init()
BackgroundRenderer
init
in class BackgroundRenderer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |