Module npsgd_worker
[hide private]
[frames] | no frames]

Module npsgd_worker

source code

Worker process for NPSGD.

This script will periodically poll the queue server specified in the config file to see if it has any jobs available. When it finds one, it will take it off the queue and begin processing - and communicate success back with the user (via e-mail) or failure back to the queue

Classes [hide private]
  NPSGDWorker
Worker class for executing models and sending out result emails.
  TaskKeepAliveThread
Model keep alive thread.
Functions [hide private]
 
main() source code
Variables [hide private]
  __package__ = None
  config = Config()
  modelManager = ModelManager()