

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Question No- 1 : Marks [ 8 +2+2+2=1 4 ] a. Using Genetic algorithm, from a population of eight bit random binary string. Test these numbers as solutions to the problem f(x) = x^2 And assign a fitness or cost to each individual equal to the value of f(x).A trivial problem might be to maximize a function, f(x), where f(x)=x^2 , for integer x and 0=< x =<4095. b. What are the other common methods that can be used by Genetic Algorithm to solve the problem of chromosomes selection? c. Explain the role of tournament size in evolutionary computation systems that use tournament selection. d. Explain the role of mutation rate in evolutionary computation systems that use mutation. Question No: 3 Marks [ 6 + 5 + 6 = 17 ] a. Please make a decision for X using naïve Bayes when X= (Color=Red, Type=SUV, Origin= Domestic)? Show your process. Below is a dataset about stolen cars. b. Write the steps and formula for handling continuous variables used by naïve Bayes Approach. c. Create a decision tree using Information Gain and Gain Ratio of the following data set. (Show the process only for the decision of root Node) Color Type Origin Stolen? Red Sports Domestic Yes Red Sports Domestic No Red Sports Domestic Yes Yellow Sports Domestic No Yellow Sports Imported Yes Yellow SUV Imported No Yellow SUV Imported Yes Yellow SUV Domestic No Red SUV Imported No Red Sports Imported Yes Question No: 5 : Use k-means algorithm to find the three cluster centers after the second iteration of the following Input Values. The distance function is Euclidean distance. Marks [5] Instance X Y 1 1.0 1. 2 1.0 4. 3 2.0 1. 4 2.0 3. 5 3.0 2. 6 5.0 6. Time allowed: 3 :30 Hrs Maximum Marks: 50 Credit Hours: 3 Course Code: CS- 331
Question No- 6 : Marks [ 8 +2+2+2=1 4 ] a. Consider the backpropagation neural network as shown below, assume that the neurons have a sigmoid activation function, also we ignore bias terms for simplicity, do the following. i. Perform a forward pass on the network. ii. Perform a reverse pass(training) once (target=0.5, α =1 , ή=0.25 ). iii. Perform a further pass and comment on the result. b. Why weights adjustment is so crucial to artificial neural network. c. Which part of the artificial neural network architecture provide the flexibility and power. d. How Gradient descent and stochastic gradient descent methods solve optimization problem?