732A55 Neural Networks and Learning Systems Assignment

Assignment Help Database Management System
Reference no: EM133083105

732A55 Neural Networks and Learning Systems

Question 1: Classify the following learning methods as supervised (S) or unsupervised (U):
• k-Nearest Neighbors
• Support Vector Machines
• AdaBoost
• Principal Component Analysis
• Multi-layer Perceptron (Neural Network)
• Mixture of Gaussian Clustering

Question 2: How is the accuracy of a classifier calculated?

Question 3: Why are the following two functions not useful in the hidden layers in a back- propagation neural network?
• y = s
• y = sign(s)

Question 4. What is described by the first eigenvector of the data covariance matrix (if the data have zero mean)?

Question 5. What assumption is made about the distributions of the two classes in linear dis- criminant analysis?

Question 6. Suppose that you know the Q-function values for a certain state. How do you determine the V-value for that state?

Question 7. What is the purpose with a momentum term in gradient descent?

Question 8. In which kind of learning tasks is linear units more useful than sigmoid activation functions in the output layer of a multi-layer neural network?

Question 9. Explain the purpose with the so-called slack variables in Support Vector Machines.

Question 10. All the weights one layer in a neural network kan be described as a matrix W. Describe an important property of this matrix for a convolutional layer in a CNN.

Part 2

Question 11. What are the two (main) differences between supervised and reinforcement learning?

Question 12. Describe briefly the two steps that are iterated in the k-means clustering algorithm.

Question 13. Consider the following explicit non-linear mapping of the input data x = (x1, x2)T :

1999_Neural Networks and Learning Systems.jpg

Kernel methods use kernel functions to avoid explicit mappings and calculations in higher-dimensional feature spaces as above.

• What does a kernel function κ(xi, xj) calculate?
• Find the expression for the kernel function that corresponds to the mapping above.

Question 14: ReLU activation functions are more and more used in neural networks instead of the tanh activation function. Draw both activation functions and give a) an advantage of the ReLU function compared to the tanh function. b) a disadvantage of the ReLU function compared to the tanh function.

Question 15: In SVM, a cost function is minimized under the following constraint:

di(wT xi) + b ≥ 1.

What is the cost function being minimized, and for which xi are the constraint forfilled with equality?

Part 3
(N.B. Write all answers in this part on separate sheets of papers! Don't
answer more that one question on each sheet!)

Question 16. The convolution of a 2D image f (x, y) and a kernel h(x, y) is defined as

g(x, y) = (f*h)(x, y) = Σα=-∞Σβ=-∞ f(α, β)h(x - α, y - β).

a) Perform the convolution below, i.e. calculate the image C. All values outside the image array A are equal to zero. In the arrays A and B, the respective number written in bold face is at position (x, y) = (0, 0). Note that C is only a part of the convolution result.

1785_Neural Networks and Learning Systems1.jpg

b) In practice, when implementing convolution, e.g. like convolve(A,B), no part of the kernel can be placed outside the image. Consequently, the resulting 2D array has size 1 × 2 and is equal to the central part of the image array C above. By extending the image array A to a new image array AA in a suitable way, convolve(AA,B) will be equal to C. Give the image array AA.

c) A CNN consists of N complex layers. Each complex layer consists of a con- volution with a 3 × 3 kernel, a sigmoid activation, and a max pooling layer with stride 2 in each dimension. The input image is 512 × 512. Compute the (spatial) size of the layer after the first and second pooling. When is the image of size 1 × 1, i.e. what is the maximum value for N?

Question 17: We want to classify some data using the network below. There are three input parameters and two output classes. The network is trained using standard error back-propagation, i.e. the square error should be minimized using gradient search. The network has one hidden layer and one output layer, see figure.

335_Neural Networks and Learning Systems2.jpg

A team of engineers implemented the above neural network, but forgot the bias weight and the activation function. So, without knowing it, they used σ(x) = x as activation function.

a) Derive the update expressions for the weights in both layers.

b) Explain the restrictions, if any, that are imposed upon the decision boundaries because of the nonexisting bias weights and activation functions.

Question 18. You have the following data:

2024_Neural Networks and Learning Systems3.jpg

where XT rain & XT est contain six 2d-samples (one per column), and yT rain & yT est contain classification labels for the corresponding samples. We have performed two iterations of AdaBoost using 'decision stumps' as weak classifiers on the data XT rain. We calculated the following weights (d), classification labels (c) and α for each weak classifier:

2079_Neural Networks and Learning Systems4.jpg

a) Perform the third AdaBoost iteration on the data XT rain using the labels y and 'decision stumps' as weak classifiers. Calculate d4, c3 and α3

b)Apply the strong classifier on the data XT rain and the data XT est. What is the accuracy for the XT rain data and the XT est respectively?

c) Will we be able to achieve an accuracy of 100 % for the test data with more iterations? Motivate your answer!

Question 19: Figure shows a reinforcement learning problem with eight states in which the valid actions are right and up. State S8 is terminal and moving into it results in a reward of 5. Moving into state S6 results in a reward of -1. All remaining states result in a reward of 0.

739_Neural Networks and Learning Systems5.jpg

Figure 1: All possible states and rewards

108_Neural Networks and Learning Systems6.jpg

Figure 2: Sequences of action

Show how the Q-values are modified by the Q-learning algorithm if sequence 1 is used once, followed by sequence 2, and then a final use of sequence 1.

Give the results as a function of γ and α. All Q-values are initialized at 0.

Reference no: EM133083105

Questions Cloud

Calculate the equivalent variation : A consumer has the utility function U ( X , Y ) = MIN(3X, 5Y) and $143 to spend. The price of X = $3, and the price of Y = $1. Calculate the equivalent variatio
Computing the average variable cost : a) What happens to the average variable cost, when the quantity produced is equal to 2? Explain your answer in detail.
Explain why a firm maximizes its profits : Explain why a firm maximizes its profits by producing the level of output at which marginal revenue equals marginal costs.
Rationalize the performance of asset prices : Asset prices rose since April 2020 due to the resolution of the uncertainty related to the COVID-19 pandemic.
732A55 Neural Networks and Learning Systems Assignment : 732A55 Neural Networks and Learning Systems Assignment Help and Solution - Describe briefly the two steps that are iterated in the k-means clustering algorithm
Literature regarding the benefits of free trade : What is the current knowledge in the literature regarding the benefits of free trade?
What is so important about being formally recognized : Beyond simply being a full member of the UN, what would formal statehood give Palestine that it does not have with its current status? What is so important abou
Why the government would need to understand the multipier : Why the government would need to understand the multipier.
What is the range of possible prices : Suppose we are in a mining boom. BHP is also negotiating with suppliers of machinery, in order to build and equip mines. They estimate that every excavator they

Reviews

Write a Review

Database Management System Questions & Answers

  Develop an er diagram from a provided scenario

To develop an ER diagram from a provided scenario. To create normalised relations of the data. To create a Database Schema.

  Create naming conventions for each entity and attributes

Create naming conventions for each entity and attributes. Conclude your data model design with an Entity Relationship Model (ERM) that will visually represent the relationships between the tables.

  Explain data collection and management techniques

Excplain Data Collection and Management Techniques for a Qualitative Research Plan

  Why should we have separate databases and a data warehouse

Why should we have separate databases and a data warehouse? Why don't we just have one large database for all our data, both current and historical?

  Identify distribution of variable using bivariate statistics

Identify the distribution of variables using bivariate statistics from your clean and prepared data. Represent your finding visually as part of your submission.

  Draw a data model with the entities

The local city youth league needs a database system to help track children who sign up to play soccer. Data needs to be kept on each team, the children.

  Explain the business process

Explain the Business Process (Such as the sales side of the customer) and Explain the Background and Problem Issued why you choose that business process

  Create a database administration plan

What is your rationale for the transaction management plan, database security procedure, backup plan, and recovery model that you proposed for the case study

  List the average salary for employees of each age

Suppose you know that the following queries are the six most common queries in the workload for this corporation and that all six are roughly equivalent in frequency and importance

  Write the business rules that are reflected in the erd

Write the business rules that are reflected in the ERD shown in Figure. (Note that the ERD reflects some simplifying assumptions.

  Provide the entity relationship diagram

The hospital has many employees, for each employee we keep the ID (unique), first, and last names, job title, salary, and the office number.

  Write a script to add user user to database adventureworks

Write a script to add user user1 to database AdventureWorks. Delete user user1 and login user1 - include the SQL script in the deliverable.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd