Class DLDataSelector
java.lang.Object
PamguardMVC.dataSelector.DataSelector
annotation.dataselect.AnnotationDataSelector<DLAnnotation>
rawDeepLearningClassifier.dataSelector.DLDataSelector
Data selector of DL data units. Note that data selectors are for deep leanring annotations
rather than deep learning data units.
The data selector can have different types of data selectors which can depend on the classifier used and user choice.
Note that this is slightly different from DLPredicitoDecision as it deals with data units that may have a more than one prediction. i.e.
-
Constructor Summary
ConstructorDescriptionDLDataSelector
(DLControl dlcontrol, DataAnnotationType<DLAnnotation> annotationType, PamDataBlock pamDataBlock, String selectorName, boolean allowScores) Constructor for the data selector. -
Method Summary
Modifier and TypeMethodDescriptionGet selection parameters for more organised centralised storage.double
scoreData
(PamDataUnit pamDataUnit) Score a PAMDataUnit.void
setParams
(DataSelectParams dataSelectParams) Set selection parameters from centralised storage.Methods inherited from class annotation.dataselect.AnnotationDataSelector
getAnnotationType, getLongSelectorName
Methods inherited from class PamguardMVC.dataSelector.DataSelector
findDataSelector, getDescription, getDialogButton, getDialogButton, getMenuItem, getPamDataBlock, getSelectorName, getSelectorTitle, getSQLSelectClause, isAllowScores, setSelectorTitle, showSelectDialog
-
Constructor Details
-
DLDataSelector
public DLDataSelector(DLControl dlcontrol, DataAnnotationType<DLAnnotation> annotationType, PamDataBlock pamDataBlock, String selectorName, boolean allowScores) Constructor for the data selector.- Parameters:
dlcontrol
- - reference to the DLControl.pamDataBlock
- - the data block.selectorName
- - the selector name.allowScores
- - allow all the scores.selectorType
- - the selector type.
-
-
Method Details
-
getDialogPanel
- Specified by:
getDialogPanel
in classDataSelector
- Returns:
- a dialog panel which can be used in a wider dialog
-
getDialogPaneFX
- Specified by:
getDialogPaneFX
in classDataSelector
- Returns:
- a FX pane which can be used in a wider dialog
-
setParams
Description copied from class:DataSelector
Set selection parameters from centralised storage.- Specified by:
setParams
in classDataSelector
-
getParams
Description copied from class:DataSelector
Get selection parameters for more organised centralised storage. This must never be null since all selectors have an enable / disable options added to them automatically in their dialogs.- Specified by:
getParams
in classDataSelector
- Returns:
-
scoreData
Description copied from class:DataSelector
Score a PAMDataUnit. this is used in preference to a boolean select function so that the user can add different return flags. Generally 0 indicates false.- Overrides:
scoreData
in classAnnotationDataSelector<DLAnnotation>
- Parameters:
pamDataUnit
- - the input data unit.- Returns:
- score of data out. 0 usually indicates false.
-
getCurrentDataSelector
-
getDataSelectors
-