100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Assignments week 2 Computational neuroscience $4.41   Add to cart

Case

Assignments week 2 Computational neuroscience

 5 views  0 purchase
  • Course
  • Institution

Score 80/100 points.

Preview 1 out of 4  pages

  • June 21, 2022
  • 4
  • 2021/2022
  • Case
  • M. senden
  • 8-9
avatar-seller
Before you turn this problem in, make sure everything runs as expected. First, restart the
kernel (in the menubar, select Kernel→Restart) and then run all cells (in the menubar,
select Cell→Run All).
Make sure you fill in any place that says YOUR CODE HERE or "YOUR ANSWER HERE", as
well as your name and collaborators below:
NAME = Kiki
COLLABORATORS =

File "<ipython-input-51-dc8f63ce51ce>", line 2
COLLABORATORS =
^
SyntaxError: invalid syntax




Assignments week 2
Complete the assignments below, save the notebook and submit them on canvas.

Assignment 2.1
The sigmoid function from the exercises is not the only activation function that has a
characteristic s shape. Another such function is the hypobolic tangent:

e x −e − x
σ ( x )= x −x
e +e
In contrast to the sigmoid function we used previously, this function is not bounded
between 0 and 1 but between −1 and 1. In order to be able to use this activation function in
neural networks, we need its derivative.
Compute the derivative of the hyperbolic tangent function (show intermediate steps).
Hint 1: split the numerator and denominator into two functions. f ( g )=e x −e − x and
f (x)
g ( x )=e x +e − x such that σ ( x )=
g(x)

Hint 2: the final derivative should be σ ′ ( x )=1 − σ ( x )2

$ \sigma (x) = \frac{e^x - e^{-x}}{e^x + e^{-x}} $
f (x)
f ( x )=e x − e− x and g ( x )=e x +e − x such that σ ( x )=
g(x)

f ′ ( x ) =e x + e −x
x −x
g ′ ( x )=e −e

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller kikiboumans. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $4.41. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

79271 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$4.41
  • (0)
  Add to cart