Find the likelihood of above gaussian given D={(xi,ti)}i then find the best w that maximize. What optimization we could use to solve for batch dataset (e.g. using the whole dataset instead of using one by one).
Multiple Regression Problem
Given T=[ti]i∈RN×K,X=[ϕ(xi)]i∈RN×D,W=[wiT]i∈RD×K, find w that minimize
L(w)=21i∑Nj∑K(wTϕ(xi)j−tij)2
Express the above into matrix form utilizing forbenius norm and then solve for w that minimize above expression.
Decision Theory in Classification
Given observation state age x0 (old or young) and covid test result x1. Given prior assumption of covid p(y)=0.1 and p(x1=1∣y=1)=0.875 and p(x1=0∣y=0)=0.975 (no matter the age). Given ℓ(x,a) as below.
State
Do nothing
Give drug
No COVID-19, young
0
8
COVID-19, young
60
8
No COVID-19, old
0
8
COVID-19, old
10
8
For each state, find the optimal action a∗ that minimize the expected loss.
Cost Sensitive Learning
Given ℓ(y,a) as below. Assume we have a model P(y∣x)
Predicted label
a = 0
a = 1
True label
y = 0
ℓ00
ℓ01
y = 1
ℓ10
ℓ11
Find the optimal decision rule a∗ that minimize the expected loss using our model P.
Reject Decision Theory
Given ℓ(y,a) below, find the optimal decision rule a∗ that minimize the expected loss given model P(Y∣X).
ℓl(y,a)=⎩⎨⎧0λrλeif a=y^if a=rejectotherwise
MLE for Logistic Regression
Find closed form solution w∗ that maximize MLE for model below on dataset D={(xi,yi)}i.
p(y=1∣x)=1+exp(−wTx+b)1
MLE for Multinomial Softmax
Find closed form solution w∗ that maximize MLE for model below on dataset D={(xi,yi)}i.