Assignment 5 Solution

$35.00 $30.80

Description

  1. Convert each of the following FOL sentences into CNF form.
    1. x P(x)   Q(x)

 

  1. x  y P(x,y)   Q(x)

 

  1. x P(x)  Q(x)

 

  1. x y P(x,y)  Q(y,x)

 

  1. x  y P(x,y)

 

  1. x y P(x,y)

 

  1. x  y z P(x,y,z)

 

  1. x  y  z P(x,y,z)

 

  1. x( y P(x,y)  Q(y))   R(x)

 

  1. x(  y P(x,y)   Q(y))   R(x)

 

 

 

 

  1. We are given the following pairs of FOL sentences. For each pair of sentences, provide a substitution to unify the sentences. If no such substitution exists, please write so.

 

  1. P(x)

 

  1. P(A)

 

  1. P(x)  Q(x, A)

 

  1. P(B)  Q(x, A)

 

  1. P(x)  Q(A, x)

 

  1. P(x)  Q(A, B)

 

  1. P(x, A)  Q(A, x)

 

  1. P(B, y)  Q(y, B)

 

  1. P(x)  Q(F(x))

 

  1. P(A)  Q(F(A))

 

  1. P(x, A)  Q(F(x), x)

 

  1. P(B, y)  Q(F(B), B)

 

  1. P(x, A)  Q(F(x), x)

 

  1. P(B, y)  Q(F(A), A)

 

  1. P(x, y)  Q(F(A), B)

 

  1. P(x, y)  Q(x, y)

 

  1. P(x, y)  Q(F(A), A)

 

  1. P(x, y)  Q(x, y)

 

  1. P(x, y)  Q(F(x), y)

 

  1. P(z, y)  Q(z, y)

 

 

 

  1. We are given the following joint distribution for variables A, B, and C. Please compute the requested probabilities. Show each probability distribution as a table/vector. Feel free to use a calculator.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  1. P(A, C)

 

  1. P(C)

 

  1. P(A|C)

 

  1. P(A, B | C)

 

  1. P(B | A, C)

 

 

 

 

 

 

  1. We are given random variables X2, X3, …, Xn, where n>2. (There is no X1). Please answer the following questions.

 

  1. Assuming all variables are binary, how many independentparameters are needed to represent

 

  1. P(X2)?

 

  1. P(Xn)?

 

  • P(X2, X3, …, Xn)?

 

  1. P(X2| X3, …, Xn)?

 

  1. P(X2, X3, …, Xn-1| Xn)?

 

  1. Assuming the size of the domain of Xiis i for all i {2, 3, …, n}, how many independent parameters are needed to represent

 

  1. P(X2)?

 

  1. P(Xn)?

 

  • P(X2, X3, …, Xn)?

 

  1. P(X2| X3, …, Xn)?

 

  1. P(X2, X3, …, Xn-1| Xn)?