Classification Flashcards

1
Q

What type of classification is done in NLP?

A

sentiment analysis (also fake news detection)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What problems does naive Bayes have?

A
  • all features are equally important
  • conditional independence assumption
  • context not taken into account
  • unknown words
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What problems does logistic regression solve that naive Bayes had?

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What problems does neural network solve that naive Bayes had?

A

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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What problems do CNNs solve that naive Bayes had?

A

CNNs capture context hierarchically.

  • all features are equally important
  • conditional independence assumption
  • context not taken into account

The following stays unresolved:
- unknown words

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What problems do character level CNNs solve that naive Bayes had?

A

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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What problems do RNNs solve that naive Bayes had?

A

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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Accuracy

A

accuracy = (true positive + true negative) / #data points

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

F1 Score

A

f1_score = 2 * (precision*recall) / (precision + recall)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly