• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/46

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

46 Cards in this Set

  • Front
  • Back
Random Variables
Take on one more more values (Ex Roll for a dice can be 1, 2 ,3 ..)
Joint Variables
Multiple Variable probabilities P(A, B)
Marginialization
Sum accross a row or column
COnditional Probability
Whats the probability of even A given that I know event B is true.

P(A|B) = P(A | B) / P(B)
Marginilization General Rule
P(X,Y,Z) and want P(X,Y) sum over Z
Bayes Rule
P(B|A) = [P(A|B) * P(B)] / P(A)
Indepence
P(A,B) = P(A) * P(B)
Conditional Indepence
P(A | B,C) =

[P(B | A) * P(C | A) * P(A)] / P(B,C)
Naive Bayes
P(Cause) * Prod(P(Event | Cause)) / [ Summation Over Cause (P(Cause) * Prod(P(Event | Cause))
Iterative Vs. Search Solutions
Iterative returns the goal as a solution while searches return the path
Hill Climbing
One dimension for each variable, try to find global max or global min, evaluation function says how good point is
HIll Climbing - Random Restart
Randomly restart each time
Simulated Annealing
Shake surface to move out of local mini/maxi and accept new state if better or based on decreasing probability if worse
Beam Search
Start multiple instances
Genetic Algorithm
Fitness Function - Increases!

Selection - Choose which parents based on fitness probability

Crossover - Choose a cut on parents and swap to make two new

Mutation - Randomly Flip bits
Syntax
How to construct sentences, their structure
Semantics
What the meaning of a sentnce is
Atomic Sentence
Truth value is assigned directly by model
Complex Sentence
Truth value assigned by the rules
Valid Sentence
Sentence true under all conditions
Satisfiable Sentence
Sentence is true under some conditions
Unsatisfiable Sentence
Sentence can never be true
Inference
Antecedent / Consequent

if we contain the Antecedent, we get the consequent
A=>B Equivalent
~A v B
Modus Ponens
A=>B, A

B
And Introduction
A,B

A & B
Modus Tolens
A=>B, ~B

~A
Or Introduction
A

A v B
Unit Resolution
A v B, ~B

A
And Elimination
A & B

A,B
Forward Inference
Insert something into KB, then derive all consequences

KB Tell is Slow, Ask is quick
Backward Inference
To see if Q is true, see if antecedents are truee

KB tesll is quick, ask is slow
COnjunctive Normal Form
X1 & X2 & X3

S.T.

X1 only contains ~, v
Resolution
Must be in conjunctive normal form, add opposite of what you want to KB, find contradiction using only unit resolution
Constants
Refer to exactly one thing
Variables
Reference constants
Relational Predicates
Return true or false:

MarriedTo(John,Doe)
Functinoal Predicates
Return an entity

FatherOf(John) = Joe
For All Statements
Always an impllication
There Exists Statement
Always an And statement
For all and There Exists Equivalence
~For All (Sentence)

There Exists ~(Sentence)
For All Introduction
Can substitue any term into for all statement
There Exists Introduction - Skoelemizatino
Can itnroduce one new constant into KB for there exists
Propositionalization
Make all possible isntantiations, hard to do
Planning Languages
State, Goal, Actions {Name, Parms, Precondition, Effect}
Pllanning languages - Backward vs. Forward
Start from goal vs start from initial