Class DLDataUnit

java.lang.Object
PamguardMVC.PamDataUnit
rawDeepLearningClassifier.dlClassification.DLDataUnit
All Implemented Interfaces:
Comparable

public class DLDataUnit extends PamDataUnit
A data unit created from classification results of DL model. This data unit holds one model results, i.e. corresponds to one segment of raw data.
Author:
Jamie Macaulay
  • Constructor Details

    • DLDataUnit

      public DLDataUnit(long timeMilliseconds, int channelBitmap, long startSample, long durationSamples, PredictionResult modelResult)
      Constructor using the original parameters that have now been moved to DataUnitBaseData
      Parameters:
      timeMilliseconds - - the time in milliseconds.
      channelBitmap - - the channel bitmap in samples
      startSample - - the start sample in samples
      modelResult - - the deep learning result
      duration - (number of samples, not milliseconds)
    • DLDataUnit

      public DLDataUnit(DataUnitBaseData baseData, float[] data)
    • DLDataUnit

      public DLDataUnit(DataUnitBaseData baseData, PredictionResult modelResult)
  • Method Details

    • getPredicitionResult

      public PredictionResult getPredicitionResult()
      Get the model result.
      Returns:
      the model result.