Class StandardAdvModelPane
java.lang.Object
PamController.SettingsPane<StandardModelParams>
rawDeepLearningClassifier.dlClassification.animalSpot.StandardAdvModelPane
Advanced settings for models - allows the users to define which transfroms to use. .
20:33:02|D|dataOpts: {
"sr": 256000,
"preemphases": 0.98,
"n_fft": 256,
"hop_length": 8,
"n_freq_bins": 256,
"fmin": 40000,
"fmax": 100000,
"freq_compression": "linear",
"min_level_db": -100,
"ref_level_db": 0
}
- Author:
- Jamie Macaulay
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.Node
Get node for GUI change of settings.Get the default paramters.getName()
Get the name of the pane.getParams
(StandardModelParams currParams) Get settings from the pane.void
Called when settings pane is first initialised.void
setDefaultParams
(StandardModelParams defaultParams) void
setParams
(StandardModelParams params) Called whenever the pane is first shown/open to set pane to show current settings.Methods inherited from class PamController.SettingsPane
getAWTWindow, getFXWindow, getHelpPoint, getOwnerWindow, notifyChange, repackContents, setDefaults, setOwnerWindow
-
Constructor Details
-
StandardAdvModelPane
public StandardAdvModelPane()
-
-
Method Details
-
getParams
Description copied from class:SettingsPane
Get settings from the pane.- Specified by:
getParams
in classSettingsPane<StandardModelParams>
- Returns:
- settings class
-
setParams
Description copied from class:SettingsPane
Called whenever the pane is first shown/open to set pane to show current settings.- Specified by:
setParams
in classSettingsPane<StandardModelParams>
- Parameters:
params
- - current settings class.
-
getName
Description copied from class:SettingsPane
Get the name of the pane.- Specified by:
getName
in classSettingsPane<StandardModelParams>
- Returns:
- name of the pane
-
getContentNode
public javafx.scene.Node getContentNode()Description copied from class:SettingsPane
Get node for GUI change of settings.- Specified by:
getContentNode
in classSettingsPane<StandardModelParams>
-
paneInitialized
public void paneInitialized()Description copied from class:SettingsPane
Called when settings pane is first initialised. This can be used if for example, a the size of a pane is needed for a param. (Sizes are only initialised when Nodes are shown);- Specified by:
paneInitialized
in classSettingsPane<StandardModelParams>
-
getDefaultParams
Get the default paramters.- Returns:
- the default paramters.
-
setDefaultParams
-