III: Intelligent techniques Flashcards

1
Q

What area does Bayes rule relate to?

A

Conditional Probability

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

What is bayes Rule?

A

P(H|E) is the probability of Hypothesis H being True based on Evidence E.
P(H|E) = P(E|H)P(H) / P(E)

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

What is P(H|E)?

A

Probability of H being True given evidence E

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

What is P(E|H)?

A

The probability we will observe E given H is true

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

What is P(H)?

A

The a priori probability that hypothesis H is true

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

What is P(E)?

A

The probability of observing E

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

What does Bayes rule say we ‘should do’?

A

We should update our knowledge with new information

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

What are three approaches to NLP?

A
  • Symbolic (rely on rules and logic to represent and process language)
  • Statistics

-ANN based

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

What does NLP stand for?

A

Natural Language Processing

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

What are some types of symbolic NLP?

A

-Rule based (instructions)
-Grammar based
-Lexical databases - store words definitions and their contextual relationship)

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

What are two types of Statistical approaches to NLP?

A
  • Probabilistic models: analysing language patterns
  • N-grams: analyse sequences of n consecutive words to predict the next
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What ‘networks’ does an ANN based NLP approach use?

A

RNN, recurrent neural networks

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

What is the NLP pipeline/process?

A

A series of steps that transform raw text into a format suitable for further analysis

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

What are 4 types of text pre-processing?

A
  • normalisation
  • tokenisation
  • stopword removal
  • stemming
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the first step of the NLP pipeline?

A

Tet pre-processing

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

What is step 2 in the NLP pipeline?

A

Feature engineering

17
Q

What is the 3rd step in the NLP pipeline?

A

Advanced processing

18
Q

What is normalisation in the context of text processing?

A

Removing punctuation and capital letters (can remove useful information)

19
Q

What is tokenisation?

A

Transforming to basic versions of text e.g. ‘10k to 10000’ or ‘wanna to want’

20
Q

What is POS tagging?

A

Part-of-Speech: Assigning words their purpose e.g. verb, adjective

21
Q

What is NER?

A

Named entity recognition: identify named entities such as person, number, organisation, locations or objects

22
Q

What do statistical models of NLPs do with the list of words?

A

Calculate probability of tags or the weights of features

23
Q

What is the feature engineering BoW technique?

A

Bag of words: format text data into numerical matrix

24
Q

What does LLM stand for?

A

Large Language Model

25
Q

What are the main two types of neural networks?

A

RNN - recurrent
CNN - convolutional

26
Q

Which type of Neural Network is good for text? And which for images?

A

text - RNN recurrent
images - CNN convolutional

27
Q

What are three types of LLM training?

A
  • unsupervised pre-training
  • Supervised fine-tuning
  • Reinforcement learning
28
Q

What does temperature mean in reference to a LLM?

A

Controls randomness on the final output layer