Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In neural computing, a neural response ( y ) is obtained by multiplying the input signal ( vector x ) with a weight matrix (

In neural computing, a neural response (y) is obtained by multiplying the input signal (vector x) with a weight matrix
(W), offset by a vector b as follows.
1
y = Wx + b,(6)
where W is an m by d matrix, x is a d-dimensional vector, and the dimension of y is m similar to the dimension of
b. Equation 6 obtains a linear mapping between input x and output y. To introduce non-linearity in this mapping
(Equation 9), a Sigmoid function \sigma (x) is used, which is defined as below.
\sigma (x)=
1
1+ ex (7)
d \sigma (x)
dx
=\sigma (x)(1\sigma (x))(8)
y =\sigma (Wx + b)(9)
You must provide complete code with proper comments and printed results.
Plot the sigmoid function for values of x ranging from -10 to +10
Plot the derivative of the sigmoid function for values of x ranging from -10 to +10
Plot to compare Equation (6) and Equation (9) where y is a function of x. You may assume other values and
variables.Use python to do the question.

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

Database And Expert Systems Applications 24th International Conference Dexa 2013 Prague Czech Republic August 2013 Proceedings Part 1 Lncs 8055

Authors: Hendrik Decker ,Lenka Lhotska ,Sebastian Link ,Josef Basl ,A Min Tjoa

2013 Edition

3642402844, 978-3642402845

More Books

Students also viewed these Databases questions