CSE 4308/5360 - Exams - Preparation for Final

Material

The material covered in the final consists of the following chapters and sections in the textbook: 50% of the points will be assigned to questions from the additional material that was not covered in the midterms. The remaining 50% will be assigned to questions from the material covered in the first two midterms. The practice questions in this page refer only to the additional material that was not covered in the midterms. For practice questions referring to the material covered earlier in the course, please see the questions on the two midterms and the practice questions for those two midterms, accessible from the exams page.

Practice Questions

  1. We are building a decision tree to determine if the next car of a person will be a regular car or a minivan. We have 100 cases as examples. The following is true for those cases: What is the entropy gain of selecting the "over 35 years of age" attribute as a test for the root node of the decision tree?

  2. Given a set of training examples, is there always a decision tree that perfectly classifies all training examples in that set? If yes, prove your answer. If no, provide a counter example.

  3. We are running AdaBoost on a set of 100 training examples.

  4. There are two types of candy bags, type A and type B. Both types of bags contain an infinite number of candies. A bag of type A contains 80% chocolate candies and 20% vanilla candies. A bag of type B contains 40% chocolate candies and 60% vanilla candies. The prior probability P(A) of having a bag of type A is 0.99, and the prior probability P(B) of having a bag of type B is 0.01.

  5. Design a perceptron takes two inputs X1 and X2, and that outputs +1 if X1 > X2 + 5, and that outputs 0 if X1 <= X2 + 5.

  6. Consider a function F that takes three Boolean inputs and gives a +1 response when exactly two (no more, no fewer) of those inputs are set to true (for the inputs, true is encoded by value 1, false is encoded by value 0). Given a large amount of training data, can we use the perceptron learning algorithm to construct a perceptron that models function F perfectly? Why, or why not?

  7. Design a neural network that implements the XOR function. You can use any number and any type of perceptrons you like. You do not have to specify the weights inside each perceptron, but you need to specify what function each perceptron implements (and, of course, the function should be a function that a perceptron can indeed model).