Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

where symbol geocircle stands for element - wise multiplication. The adjustable parameters in this unit are matrices W ^ f _ t h ,

where symbol \geocircle stands for element-wise multiplication. The adjustable parameters in this unit are matrices W^f_t h, W^f_1 x, W^i_4 h, W^i_q x, W^o_1 h, W^o, t z, W^c_2 h, W^2 as the offset parameter vectors b_f, b_\xi , b_o, and b_c. By changing these parameters, we change how the unit evolves as a function of inputs x_t. To keep things simple, in this problem we assume that x_t, c_t, and h_t are all scalars. Concretely, suppose that the parameters are given by [ W^f_i, h=0 W^f_1 x=0 b_f=-100 W^c, h=-100; W^i, h=0 W^i, x=100 b_i=100 W^c, x =50; W^o, h=0 W^o, x=100 b_o =0, b_c =0] We run this unit with initial conditions h_-1=0 and c_-1=0, and in response to the following input sequence: [0,0,1,1,1,0](For example, x_0=0, x_1=0, so on). LSTM states 0/1 point (graded) Calculate the values h_7 at each time-step and enter them below as an array [h_0, h_1, h_2, h_3, h_4, h_5].(Please round h_t to the closest integer in every time-step. If h_t=\pm 0.5, then round it to 0. For ease of calculation, assume that sigmoid (x)1 and tanh (x)1 for x >=1, and sigmoid(x)0 and tanh (x)-1 for x <=-1.) You have used 1 of 5 attempts LSTM states 20/1 point (graded) Now, we run the same model again with the same parameters and same initial conditions as in the previous question. The only difference is that input sequ [1,1,0,1,1] Calculate the values h_t at each time-step and enter them below as an array [h_0, h_1, h_2, h_3, h_4].

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

Practical Database Programming With Visual Basic.NET

Authors: Ying Bai

1st Edition

0521712351, 978-0521712354

Students also viewed these Databases questions

Question

What is short-selling and is it legal?

Answered: 1 week ago

Question

Don't copy from any other sources and write with clear explanation

Answered: 1 week ago