state based naive bayes in progress of being rewritten into luigi task
state based NB converted to lugii task