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
ConstructorsConstructorDescriptionDLDataSelector(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.doublescoreData(PamDataUnit pamDataUnit) Score a PAMDataUnit.protected doublescoreData(PamDataUnit pamDataUnit, DLAnnotation annotation) Score the data based on the annotaiton.voidsetParams(DataSelectParams dataSelectParams) Set selection parameters from centralised storage.Methods inherited from class annotation.dataselect.AnnotationDataSelector
getAnnotationType, getLongSelectorNameMethods 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:
 getDialogPanelin classDataSelector- Returns:
 - a dialog panel which can be used in a wider dialog
 
 - 
getDialogPaneFX
- Specified by:
 getDialogPaneFXin classDataSelector- Returns:
 - a FX pane which can be used in a wider dialog
 
 - 
setParams
Description copied from class:DataSelectorSet selection parameters from centralised storage.- Specified by:
 setParamsin classDataSelector- Parameters:
 dataSelectParams-
 - 
getParams
Description copied from class:DataSelectorGet 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:
 getParamsin classDataSelector- Returns:
 
 - 
scoreData
Description copied from class:DataSelectorScore 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:
 scoreDatain classAnnotationDataSelector<DLAnnotation>- Parameters:
 pamDataUnit- - the input data unit.- Returns:
 - score of data out. 0 usually indicates false.
 
 - 
scoreData
Description copied from class:AnnotationDataSelectorScore the data based on the annotaiton.- Specified by:
 scoreDatain classAnnotationDataSelector<DLAnnotation>- Parameters:
 pamDataUnit-annotation- might be null- Returns:
 
 - 
getCurrentDataSelector
 - 
getDataSelectors
 
 -