logo

Crowdly

Browser

Add to Chrome

BCSE332P Deep Learning Lab (Lab) Fall 2026-27 (L53+L54) [VL2026270103161]

Looking for BCSE332P Deep Learning Lab (Lab) Fall 2026-27 (L53+L54) [VL2026270103161] test answers and solutions? Browse our comprehensive collection of verified answers for BCSE332P Deep Learning Lab (Lab) Fall 2026-27 (L53+L54) [VL2026270103161] at moovit.vit.ac.in.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

You are training a two‑layer neural network (2 inputs → 2 hidden neurons → 1 output neuron) to learn the XOR gate using sigmoid activation and Gradient Descent.

Tasks:

  1. Forward Pass

    • Compute hidden layer pre‑activations

      zh

      and activations

      h

      .

    • Compute output pre‑activation

      zo

      and prediction

      y^

      .

    • Round each value to two decimals.

  2. Error

    • Compute loss:

E=12(y−y^)2

  • Round to two decimals.

  1. Backward Pass (Chain Rule)

    • Compute output delta:

δo=(y−y^)⋅y^(1−y^)

  • Compute hidden deltas:

δh=δo⋅Wo⋅h(1−h)

  • Round all deltas to two decimals.

  1. Weight Updates

    • Update output weights and bias:

Wo←Wo+η⋅δo⋅h

bo←bo+η⋅δo

  • Update hidden weights and biases:

Wh←Wh+η⋅δh⋅X

bh←bh+η⋅δh

  • Round all updated parameters to two decimals.

100%
0%
0%
0%
View this question

A model predicts house price as 𝑤⋅𝑥.True price = 300, input 𝑥=10, current weight w= 20.

with Loss:

and its Gradient :

Perform Manally one RMSProp update with learning rate 0.01.

RMSProp parameters:

β=0.9,  s=0.0,  ϵ=10−8
0%
100%
0%
0%
View this question

Want instant access to all verified answers on moovit.vit.ac.in?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome