Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

X1 X2 Problem 2) Gradient descent learning: Consider the following set of data points: input desired label 1 1 1 1 0 1 0 1

image text in transcribed
X1 X2 Problem 2) Gradient descent learning: Consider the following set of data points: input desired label 1 1 1 1 0 1 0 1 0 -1 - 1 0 - 1 0 0 -1 1 0 As the above table shows, the data points are categorized (labeled) in two groups specified by the labels "1" and "O". a) Use the gradient descent learning algorithm to train a single neuron on the data samples given in the table above. Repeat the gradient descent algorithm for only 3 iterations. Assume the learning rate is 0.1 with initial weight vector of (111). a) Draw the average square error all the three iterations. Is the error decreasing? Explain your observation. b) Draw the schematics of the trained classifier after the third iteration. c) Provide the equation of the trained model at every iteration. Hint: the question of the three classifier lines. d) Plot the given data points with two different markers for each group. e) Plot the classifier line of the 3rd iteration to the plot in (d). Label each classifier. f) Calculate the accuracy, sensitivity, and specificity of the 3rd classifier. X1 X2 Problem 2) Gradient descent learning: Consider the following set of data points: input desired label 1 1 1 1 0 1 0 1 0 -1 - 1 0 - 1 0 0 -1 1 0 As the above table shows, the data points are categorized (labeled) in two groups specified by the labels "1" and "O". a) Use the gradient descent learning algorithm to train a single neuron on the data samples given in the table above. Repeat the gradient descent algorithm for only 3 iterations. Assume the learning rate is 0.1 with initial weight vector of (111). a) Draw the average square error all the three iterations. Is the error decreasing? Explain your observation. b) Draw the schematics of the trained classifier after the third iteration. c) Provide the equation of the trained model at every iteration. Hint: the question of the three classifier lines. d) Plot the given data points with two different markers for each group. e) Plot the classifier line of the 3rd iteration to the plot in (d). Label each classifier. f) Calculate the accuracy, sensitivity, and specificity of the 3rd classifier

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Contemporary Issues In Database Design And Information Systems Development

Authors: Keng Siau

1st Edition

1599042894, 978-1599042893

More Books

Students also viewed these Databases questions