Unfolding-Naive-Bayes-from-Scratch