TWMNB, with a glimpse of sklearn implementation :)