|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
at.tuwien.ifs.somtoolbox.apps.trainer.SOMTrainer
public class SOMTrainer
The SOMTrainer is a graphical Interface to train a new SOM. It allows setting various parameters, input and output data and has different SOM-Modes available.
AbstractNetworkModel
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JFrame |
---|
JFrame.AccessibleJFrame |
Nested classes/interfaces inherited from class java.awt.Frame |
---|
Frame.AccessibleAWTFrame |
Nested classes/interfaces inherited from class java.awt.Window |
---|
Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Nested classes/interfaces inherited from interface at.tuwien.ifs.somtoolbox.apps.SOMToolboxApp |
---|
SOMToolboxApp.Type |
Fields inherited from class javax.swing.JFrame |
---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Frame |
---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface at.tuwien.ifs.somtoolbox.apps.SOMToolboxApp |
---|
DEV_BY_STRING, HOMEPAGE, REQUIRED_MEMBERS, TYPE_GROUPED_COMPARATOR |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
SOMTrainer()
This method initializes |
Method Summary | |
---|---|
private String[] |
createCmdLine(File propFile)
|
private Properties |
createSOMProps()
|
private File |
execFileChooser(JTextField target,
FileFilter filter,
boolean isToSave,
boolean directorySelect)
|
private JButton |
getBtnLogFileSaver()
This method initializes btnLogFileSaver |
private JButton |
getBtnOutDirFileSaver()
This method initializes btnOutDirFileSaver |
private JButton |
getBtnSave()
This method initializes btnSave |
private JButton |
getBtnTrain()
This method initializes btnTrain |
private JButton |
getBtnTVFileOpen()
This method initializes btnTVFileOpen |
private JButton |
getBtnVecFileOpen()
This method initializes btnVecFileOpen |
private JCheckBox |
getChkCreateDWM()
This method initializes chkCreateDWM |
private JCheckBox |
getChkLabelSOM()
This method initializes chkLabelSOM |
private JCheckBox |
getChkLernrate()
This method initializes chkLernrate |
private JCheckBox |
getChkNormalized()
This method initializes chkNormalized |
private JCheckBox |
getChkSigma()
This method initializes chkSigma |
private JCheckBox |
getChkSparse()
This method initializes chkSparse |
private JComboBox |
getCmbMetric()
This method initializes cmbMetric |
private ClassComboBoxModel<DistanceMetric> |
getCmbMetricModel()
|
private JComboBox |
getCmbModel()
This method initializes cmbModel |
private ClassComboBoxModel<AbstractNetworkModel> |
getCmbModelModel()
|
private JComboBox |
getCmbQualityMeasure()
This method initializes cmbQualityMeasure |
private ClassComboBoxModel<QualityMeasure> |
getCmbQualityMeasureModel()
|
private JPanel |
getMain()
This method initializes main |
private JProgressBar |
getPgbTraining()
This method initializes pgbTraining |
private JPanel |
getPnlGo()
This method initializes pnlGo |
private JPanel |
getPnlInputData()
This method initializes pnlInputData |
private JPanel |
getPnlLog()
This method initializes pnlLog |
private JPanel |
getPnlMapSettings()
This method initializes pnlMapSettings |
private JPanel |
getPnlMisc()
This method initializes pnlMisc |
private JPanel |
getPnlModelSettings()
This method initializes pnlModelSettings |
private JPanel |
getPnlOutDir()
This method initializes pnlOutDir |
private JPanel |
getPnlSettings()
This method initializes pnlSettings |
private JPanel |
getPnlTv()
This method initializes pnlTv |
private JPanel |
getPnlVec()
This method initializes pnlVec |
private JRadioButton |
getRdoCycles()
This method initializes rdoCycles |
private JRadioButton |
getRdoIterations()
This method initializes rdoIterations |
private JSpinner |
getSpnIterations()
This method initializes spnIterations |
private JSpinner |
getSpnLabels()
This method initializes spnLabels |
private JSpinner |
getSpnLearnrate()
This method initializes spnLearnrate |
private JSpinner |
getSpnRandomSeed()
This method initializes spnRandomSeed |
private JSpinner |
getSpnSigma()
This method initializes spnSigma |
private JSpinner |
getSpnThreads()
This method initializes spnThreads |
private JSpinner |
getSpnWinnerCount()
This method initializes spnWinnerCount |
private JSpinner |
getSpnXSize()
This method initializes spnXSize |
private JSpinner |
getSpnYSize()
This method initializes spnYSize |
private JTextField |
getTxtInputVecotrFile()
This method initializes txtInputVecotrFile |
private JTextField |
getTxtLogFile()
This method initializes txtLogFile |
private JTextField |
getTxtOutDir()
This method initializes txtOutDir |
private JTextField |
getTxtTemplateVecotrFile()
This method initializes txtTemplateVecotrFile |
private JTextField |
getTxtTitle()
This method initializes txtTitle |
private void |
initialize()
This method initializes this |
static void |
main(String[] args)
|
private static void |
setEnabledToChildren(JPanel panel,
boolean enabled,
boolean recursive)
|
private void |
setGuiLocked(boolean locked)
|
private void |
startTraining()
|
Methods inherited from class java.awt.Frame |
---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
---|
getFont, postEvent |
Field Detail |
---|
private static final long serialVersionUID
public static final com.martiansoftware.jsap.Parameter[] OPTIONS
public static final String DESCRIPTION
public static final String LONG_DESCRIPTION
public static final SOMToolboxApp.Type APPLICATION_TYPE
private JPanel main
private JPanel pnlMapSettings
private JLabel lblTitle
private JTextField txtTitle
private JLabel lblModel
private JComboBox cmbModel
private JPanel pnlInputData
private JLabel lblVecFile
private JPanel pnlVec
private JTextField txtInputVecotrFile
private JButton btnVecFileOpen
private JLabel lblTvFile
private JPanel pnlTv
private JTextField txtTemplateVecotrFile
private JButton btnTVFileOpen
private JLabel lblOutputDir
private JPanel pnlOutDir
private JTextField txtOutDir
private JButton btnOutDirFileSaver
private JPanel pnlModelSettings
private JPanel pnlMisc
private JLabel lblThreads
private JLabel lblLogFile
private JSpinner spnThreads
private JPanel pnlLog
private JTextField txtLogFile
private JButton btnLogFileSaver
private SpinnerNumberModel spnThreadsModel
private JProgressBar pgbTraining
private JPanel pnlGo
private JButton btnTrain
private JButton btnSave
private JCheckBox chkSparse
private JCheckBox chkNormalized
private JPanel pnlSettings
private JLabel lblXSize
private JSpinner spnXSize
private JLabel lblYSize
private JSpinner spnYSize
private JSpinner spnLearnrate
private JSpinner spnSigma
private JSpinner spnIterations
private JLabel lblIteration
private JRadioButton rdoIterations
private JRadioButton rdoCycles
private JLabel lblMetric
private JLabel lblQuality
private JComboBox cmbMetric
private JComboBox cmbQualityMeasure
private JLabel jLabel
private JSpinner spnRandomSeed
private JCheckBox chkCreateDWM
private JCheckBox chkSigma
private JCheckBox chkLernrate
private SOMModelSettingsPanel pnlModelSpecificSettings
private ClassComboBoxModel<DistanceMetric> cmbMetricModel
private ClassComboBoxModel<QualityMeasure> cmbQualityMeasureModel
private ClassComboBoxModel<AbstractNetworkModel> cmbModelModel
private JCheckBox chkLabelSOM
private JLabel lblLabels
private JSpinner spnLabels
private JSpinner spnWinnerCount
Constructor Detail |
---|
public SOMTrainer()
Method Detail |
---|
private void initialize()
private JPanel getMain()
private JPanel getPnlMapSettings()
private JTextField getTxtTitle()
private JComboBox getCmbModel()
private ClassComboBoxModel<AbstractNetworkModel> getCmbModelModel()
NetworkModel
sprivate JPanel getPnlInputData()
private JPanel getPnlVec()
private JTextField getTxtInputVecotrFile()
private JButton getBtnVecFileOpen()
private JPanel getPnlTv()
private JTextField getTxtTemplateVecotrFile()
private JButton getBtnTVFileOpen()
private JPanel getPnlOutDir()
private JTextField getTxtOutDir()
private JButton getBtnOutDirFileSaver()
private JPanel getPnlModelSettings()
private JPanel getPnlMisc()
private JSpinner getSpnThreads()
private JPanel getPnlLog()
private JTextField getTxtLogFile()
private JButton getBtnLogFileSaver()
private JProgressBar getPgbTraining()
private JPanel getPnlGo()
private JButton getBtnTrain()
private JButton getBtnSave()
private JCheckBox getChkSparse()
private JCheckBox getChkNormalized()
private JPanel getPnlSettings()
private JSpinner getSpnXSize()
private JSpinner getSpnYSize()
private JSpinner getSpnLearnrate()
private JSpinner getSpnSigma()
private JSpinner getSpnIterations()
private JRadioButton getRdoIterations()
private JRadioButton getRdoCycles()
private JComboBox getCmbMetric()
private ClassComboBoxModel<DistanceMetric> getCmbMetricModel()
private JComboBox getCmbQualityMeasure()
private ClassComboBoxModel<QualityMeasure> getCmbQualityMeasureModel()
QualityMeasure
Modelprivate File execFileChooser(JTextField target, FileFilter filter, boolean isToSave, boolean directorySelect)
private Properties createSOMProps()
private String[] createCmdLine(File propFile)
private void setGuiLocked(boolean locked)
private void startTraining()
private JSpinner getSpnRandomSeed()
private JCheckBox getChkCreateDWM()
private JCheckBox getChkSigma()
private JCheckBox getChkLernrate()
private static void setEnabledToChildren(JPanel panel, boolean enabled, boolean recursive)
private JCheckBox getChkLabelSOM()
private JSpinner getSpnLabels()
private JSpinner getSpnWinnerCount()
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |