Monday, July 21, 2025

DL-CNN_Questions

 What happend when apply the input image convolution with the kernal of all elements are 1?


The image you've uploaded shows the Taj Mahal and a 3×3 convolution kernel consisting entirely of 1s:

Kernel=1

              1 1

              1 1] 3x3

This is a convolution operation typically used in image processing.


What happens during convolution?

The kernel slides over the image pixel by pixel. At each location, the element-wise multiplication of the kernel and the corresponding 3×3 patch of the image is computed, and all the results are summed up to produce the output pixel.

For a 3×3 kernel of all 1s:

  • It sums all the 9 neighboring pixel values (including the center pixel).

  • This value can be optionally normalized by dividing by 9.


What is the result of this operation?

This is known as a mean filter (box blur) when you normalize the kernel.

  • If you divide the kernel by 9:

    [1/1/1/9

  •  1/1/1/9

  •  1/1/9  1/9]
  • You get a blurred image.


Why does this happen?

  • The kernel averages each pixel with its neighbors.

  • Sharp details (like edges or textures) are smoothed out.

  • This results in a blurring effect.


Summary:

  • Input: Image of the Taj Mahal.

  • Kernel: 3×3 all-ones matrix.

  • Operation: Convolution (possibly normalized).

  • Output: A blurred version of the Taj Mahal image.

  • Why: Each pixel is replaced by the sum (or average) of its neighboring pixels, reducing sharpness.

Testing notes







 


Tuesday, July 15, 2025

DeepLearning

TRY YOUR SELF THIS QUESTIONS

 1.Which architecture can approximate any continuous function on [0,1]?

  • (A) Single hidden layer with ReLU and enough neurons

  • (B) Deep network with arbitrary width but no nonlinearity

  • (C) Only networks with sigmoid activations

  • (D) None of the above

2. why deep networks can be more parameter-efficient than shallow ones when approximating      complex functions?

3. What core challenge arises when generalizing bump functions to two or more inputs?

4. Analyze how many bump functions you would need (and thus neurons) to approximate a          piecewise-constant function with 10 segments. What if you use two hidden layers—how          does "depth" help?

5. Construct a network using ReLUs that approximates the triangular waveform?

6. True or False: The “bump building” method from requires exponentially many neurons        as   dimension increases?

7.Derive a 1‑hidden-layer network that emulates a step function?

 Given ReLU activation, find weights and biases 
  • w1,w2,b1,b2,v1,v2w_1, w_2, b_1, b_2, v_1, v_2 such that the network’s output approximates a step at x=ax = a


8.f(x)=sin(πx)f(x) = \sin(\pi x) on [0, 1]. Show how to approximate it using a finite sum of         bump functions, and write the corresponding neural network formulation?

ManagerialEconomics-week4-Notes

 ManagerialEconomics-week4-Notes

ManagerialEconomics-week3-Notes

 ManagerialEconomics-week3-Notes

Tuesday, July 1, 2025

ME

 Mutual Industries owns 3 plants at which it produces exactly the same cars.

Plant 1 has cost function:

  • TC1=30010q+50q2 → (1)

Plant 2:

  • TC2=50+10q2→ (2)

Plant 3:

  • TC3=1000+20q3→ (3)

Mutual decides to produce 5 cars in the least costly way.
Q=5


(1) If Mutual Industries decides to produce 5 cars in the most least costly manner in a single plant, which plant will be chosen?

Put q=5 in all 3 equations:

  • TC1=30010×5+50×52=30050+1250=1500

  • TC2=50+10×52=50+250=300

  • TC3=1000+20×5=1100

 Least cost → Plant 2


(2) How many cars will be produced in each plant?

Let:

  • q1 cars produced in Plant 1

  • q2 cars produced in Plant 2

  • q3= cars produced in Plant 3

Then:

  • q1+q2+q3=5 → (i)


Image 2:


(ii) If the production takes place in different plants, how many cars will be produced in each plant? Find the cost?

No. of cars producedPlant 1   Plant 2          Plant 3
1240601002
2480901040
37201401050
415002101080
51500300    1100
Cost of production is least when Plant 2 does it.

 If only no. of cars = 1 + x is scaled, 5 cars will be produced in Plant 2 only → at cost 300

→ 5th no. of cars produced in:

  • P1,P2,P3=0,5,0


(3) Budget eqn is given by: P1x1+P2x2=m
The government decides to impose:

  • a lump sum tax of t (on income),

  • a unit tax on good 1 of τ (→ always add: + tax),

  • and a per unit subsidy on good 2 of s (→ minus: – subsidy)

What is the formula for the new budget line?

New Budget Equation:

(P1+τ)x1+P2x2=(mt+s)(P_1 + τ)x_1 + P_2x_2 = (m - t + s)



Mangerial Economics Quiz1 solutions Guide

Mangerial Economics Quiz1 solutions Guide  solutions watch on you tube channel