|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object databionics.esom.tool.AbstractTool databionics.esom.tool.projection.ProjectionTool
public class ProjectionTool
Field Summary | |
---|---|
protected cern.colt.function.VectorVectorFunction |
distanceFunction
distance function in data space |
protected static org.apache.log4j.Logger |
log
|
Fields inherited from class databionics.esom.tool.AbstractTool |
---|
application, bottomBar, bottomTab, btnClear, btnLoad, btnPaint, btnSave, clearItm, clickMode, controlButton, creatorPanel, dataTable, dataTableModel, displayPanel, dragMode, drawing, fileMenu, filename, gui, loader, loadItm, moveCallback, pnlControl, polygonMode, popMenu, removeItm, renderer, renderPanel, saveItm, toolBar, toolRenderer |
Constructor Summary | |
---|---|
ProjectionTool(boolean gui,
Application application)
|
Method Summary | |
---|---|
ClsFile |
autoClassify(RectangularGrid grid,
ClassmaskFile classmaskFile,
BMFile bmFile)
|
BMFile |
convert(RectangularGrid rgrid,
LrnFile lrnFile)
|
protected int |
findBestMatch(int row,
LrnFile lrnFile,
RectangularGrid rgrid)
Find best matching weight for data vector. |
protected BMFile |
getBestMatches(cern.colt.list.IntArrayList bestmatches,
RectangularGrid rgrid,
LrnFile lrnFile)
Save indices of best matching neurons to a *.bm file Available after calling train(). |
protected double |
getDistance(int row,
int index,
LrnFile lrnFile,
RectangularGrid rgrid)
Get the distance between a data row and a neuron. |
protected cern.colt.matrix.DoubleMatrix1D |
getPattern(int row,
LrnFile lrnFile)
Access to a data pattern by row number |
java.lang.String |
getShortTitle()
|
void |
init()
Initialize what needs to be Initialized. |
boolean |
load(java.lang.String filename)
|
void |
reset()
reset the tool. |
void |
setData(java.lang.Object object)
|
Methods inherited from class databionics.esom.tool.AbstractTool |
---|
actionPerformed, callback, getApplication, getBottomTab, getCallback, getControlButton, getCreatorPanel, getDataTable, getDataTableModel, getDisplayPanel, getFileMenu, getFilename, getLoader, getMessage, getMoveCallback, getPnlControl, getPopMenu, getRenderer, getToolBar, getToolRenderer, initGui, isClickMode, isDragMode, isDrawing, isGui, isPolygonMode, moveSelection, reAreas, reColorize, reDraw, reFore, reMask, rePostFore, rePreFore, reRender, reTile, reZoom, select, setApplication, setBottomTab, setCallback, setClickMode, setControlButton, setCreatorPanel, setCtrlAccelerator, setDataTable, setDataTableModel, setDisplayPanel, setDragMode, setDrawing, setFilename, setLoader, setMoveCallback, setPolygonMode, setRenderer, setToolBar, update |
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 cern.colt.function.VectorVectorFunction distanceFunction
Constructor Detail |
---|
public ProjectionTool(boolean gui, Application application)
Method Detail |
---|
public BMFile convert(RectangularGrid rgrid, LrnFile lrnFile)
public ClsFile autoClassify(RectangularGrid grid, ClassmaskFile classmaskFile, BMFile bmFile)
protected int findBestMatch(int row, LrnFile lrnFile, RectangularGrid rgrid)
row
- Row of the data patternprotected double getDistance(int row, int index, LrnFile lrnFile, RectangularGrid rgrid)
row
- Row of data patternindex
- Index of neuron
protected cern.colt.matrix.DoubleMatrix1D getPattern(int row, LrnFile lrnFile)
row
- Row of data patternprotected BMFile getBestMatches(cern.colt.list.IntArrayList bestmatches, RectangularGrid rgrid, LrnFile lrnFile)
public void init()
AbstractTool
init
in class AbstractTool
public void reset()
AbstractTool
reset
in class AbstractTool
public boolean load(java.lang.String filename)
public void setData(java.lang.Object object)
public java.lang.String getShortTitle()
getShortTitle
in class AbstractTool
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |