A fully connected layer with nin inputs and nout neurons has…
A fully connected layer with nin inputs and nout neurons has nin × nout + nout parameters (weights + biases). The input layer performs no computation and is not counted in the depth.(i) A network has 2 inputs, one hidden layer with 3 neurons, and 1 output neuron. Its depth (number of computing layers) is [depth] and its total parameter count is [small].(ii) An MLP for 28×28 grayscale images has 784 inputs, one hidden layer of 64 neurons, and 10 outputs. Its total parameter count is [big]. (This explosion of parameters is one reason the lecture recommends CNNs for images.)Format: enter numeric answers as plain decimals (e.g., 0.25, not 1/4). Do not include units or commas.
Read DetailsUsing the five clean days (T1–T5) with the original (unnorma…
Using the five clean days (T1–T5) with the original (unnormalized) values, fit a linear regression ŷ = β0 + β1x, where x = FootTraffic (hundreds) and y = TacoSales (dozens). Use the closed-form solution:β1 = Σ(xi − x̄)(yi − ȳ) / Σ(xi − x̄)² , β0 = ȳ − β1x̄β1 = [beta1] β0 = [beta0]Format: enter numeric answers as plain decimals (e.g., 0.25, not 1/4). Do not include units or commas.
Read DetailsA classmate writes code that stores inventory items and thei…
A classmate writes code that stores inventory items and their prices using two separate lists, one for item names and one for prices, instead of a single dictionary. Explain at least one problem this approach could cause, and describe how a dictionary would solve it.
Read DetailsA 16-year-old sexually active female presents with a 5-day h…
A 16-year-old sexually active female presents with a 5-day history of malodorous, greenish-yellow vaginal discharge and vulvar irritation. She has one male sexual partner. A urine pregnancy test is negative. A vaginal NAAT returns positive for Trichomonas vaginalis and negative for chlamydia and gonorrhea. What is the most appropriate management?
Read Details