Class DLTaskThread

java.lang.Object
java.lang.Thread
rawDeepLearningClassifier.dlClassification.DLTaskThread
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
StandardClassifierModel.TaskThread

public abstract class DLTaskThread extends Thread
Creates a que for grouped data units for classiifcation.
Author:
Jamie Macaulay
  • Constructor Details

    • DLTaskThread

      public DLTaskThread(DLModelWorker soundSpotWorker)
  • Method Details

    • stopTaskThread

      public void stopTaskThread()
    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
    • newDLResult

      public abstract void newDLResult(StandardPrediction soundSpotResult, PamDataUnit groupedRawData)
      Called whenever there is a new result.
      Parameters:
      soundSpotResult - - the new result.
      groupedRawData - - the grouped data unit.
    • getQueue

      public List<ArrayList<? extends PamDataUnit>> getQueue()
      Get the grouped data queue
      Returns:
    • setQueue

      public void setQueue(List<ArrayList<? extends PamDataUnit>> queue)