Classification Flashcards
What type of classification is done in NLP?
sentiment analysis (also fake news detection)
What problems does naive Bayes have?
- all features are equally important
- conditional independence assumption
- context not taken into account
- unknown words
What problems does logistic regression solve that naive Bayes had?
- logistic regression assigns weights to features
- logistic regression tries to see which features are more important
The following stays unresolved:
- context not taken into account
- unknown words
What problems does neural network solve that naive Bayes had?
fits more complex problems, whatever that means…
- NN assigns weights to features
- NN tries to see which features are more important
The following stays unresolved:
- context not taken into account
- unknown words
What problems do CNNs solve that naive Bayes had?
CNNs capture context hierarchically.
- all features are equally important
- conditional independence assumption
- context not taken into account
The following stays unresolved:
- unknown words
What problems do character level CNNs solve that naive Bayes had?
CNNs capture context hierarchically.
all of them yay!
Just an overview what the problems where:
- all features are equally important
- conditional independence assumption
- context not taken into account
- unknown words
What problems do RNNs solve that naive Bayes had?
RNNs capture context sequentially.
all of them yay!
Just an overview what the problems where:
- all features are equally important
- conditional independence assumption
- context not taken into account
- unknown words
Accuracy
accuracy = (true positive + true negative) / #data points
F1 Score
f1_score = 2 * (precision*recall) / (precision + recall)