jdshah10 / language-classification-with-naive-bayes-in-python Goto Github PK
View Code? Open in Web Editor NEWDeveloped a language classifier using Multinomial Naive Bayes, confusion matrix, Zipf's Law and fit-score. Made adjustments to model to take into account class imbalance using theory behind Naive Bayes. Used subword units to further counteract class imbalance and improve model performance.