Bayes rule and KBS Flashcards

1
Q

What is the method for using bayes rule?

A

1) Find all the P(H) (A prioris)
2) Find all the P(E|H) (evidence given hyp is true)
3) Find P(E) using formula P(E) = P(H1)P(E|H1) + P(H2)P(E|H2) + … + P(Hn)*P(E|Hn)
4) Work out P(H|E) for each H using formula, highest probability is answer

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

What is a knowledge based system?

A

A collection of knowledge taken from a human and stored in a such a way that a system can reason with it

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

What is the difference between machine learning and a knowledge based system?

A

Inputs
ML -> data, KBS -> facts and knowledge

Approach
ML -> training, KBS -> reasoning

Output
ML -> models, KBS -> new knowledge

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

What do knowledge based systems do?

A

Acquire knowledge
Represent knowledge
Apply the knowledge

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

What is the problem with building a knowledge based system?

A
  • Human knowledge is complex
  • Iterative procedure which is time consuming to maintain
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the two ways we can represent knowledge in a KBS?

A

Natural language
-> Little uniformity

Predicate logic
-> uniformity

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

Explain the steps in resolution rule

A

1) Convert the knowledge base into CNF (conjunctive normal form so add disjunction)
2) Negate the statement and add it to KB
3) Unification (replace variables by concrete instance)
4) Resolution (iteratively eliminate contradictions until and empty clause is resolved (statement true) or a contradiction exists (negated statement is true)

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

What is natural language processing?

A

How machines understand human english

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

What are the different approaches to natural language processing?

A

Symbolic based
-> rely on rules and logic

Statistics based
-> analyse language patterns to predict words

ANN based
-> handle sequential data with memory

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

What is meant by the pipeline of natural language processing?

A

Series of steps to transform raw text into a formal suitable for a machine to understand

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

Explain the steps in pipelining

A

Test preprocessing, Feature engineering and Applications

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

Explain the test preprocessing steps in pipelining?

A

Normalisation
-> Convert text to standard form (lowercase, no punctuation)
Tokenisation
-> Break down text into words
Stopword removal
-> Filter out common words like “the”, “is”, “and”
Stemming
-> reduce words to their route like “running” to “run”

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

Explain feature engineering in the pipeline

A

Part of speech tagging
-> Assign each word its function (noun, verb, adjective etc.)

Named entity recognition
-> Identify named entities (person, number, organisation, location etc.)

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

Applications of pipelining

A

Chatbots
Sentimental analysis
Autocorrection
Machine translation
Plagiarism check

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