Question: Q3 (4pts): In lecture, we used gradient descent to optimize the Alcohol weight parameter: Quality=1.5+3Alcohol+0.3Color1.3CitricAcid+0.01Sugar LowAlcohol=1Med.Alcohol=2HighAlcohol=3mnew=[?,2.88,?,?,?]RedColor=1WhiteColor=0mold=[1.5,3,0.3,1.3,0.01] Q3a: Update the CitricAcid weight parameter. Calculate the new
Q3 (4pts): In lecture, we used gradient descent to optimize the Alcohol weight parameter: Quality=1.5+3Alcohol+0.3Color1.3CitricAcid+0.01Sugar LowAlcohol=1Med.Alcohol=2HighAlcohol=3mnew=[?,2.88,?,?,?]RedColor=1WhiteColor=0mold=[1.5,3,0.3,1.3,0.01] Q3a: Update the CitricAcid weight parameter. Calculate the new weight parameter value up to two decimal places Q3b: Calculate the R-squared of samples 1 and 2 using mold and the partially calculated mnew=[1.5,2.88,0.3,yourresulthere,0.01] In other words, mnew has updated weight parameters for both Alcohol (from lecture) and CitricAcid (from Q3a), but all other parameter values are unchanged
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
