水熊虫
水熊虫
不认命,就拼命!
262文章 52分类

样本不均之样本采样

[{"source":{"position":41,"lines":["$$\begin{gathered}L(\\theta)=\\sum y\\^i\\log(h(x\\^i)+(1-y\\^i)\\log(1-h(x\\^i))\end{gathered}$$"],"changePosition":null},"target":{"position":41,"lines":["$$\begin{gathered}L(\\theta)=\\sum y^i\\log(h(x^i)+(1-y^i)\\log(1-h(x^i))\end{gathered}$$"],"changePosition":null},"type":"CHANGE"},{"source":{"position":47,"lines":["$$\begin{gathered}L(\\theta)=\\sum \\alpha y\\^i\\log(h(x\\^i)+\\beta(1-y\\^i)\\log(1-h(x\\^i))\end{gathered}$$"],"changePosition":null},"target":{"position":47,"lines":["$$\begin{gathered}L(\\theta)=\\sum \\alpha y^i\\log(h(x^i)+\\beta(1-y^i)\\log(1-h(x^i))\end{gathered}$$"],"changePosition":null},"type":"CHANGE"},{"source":{"position":51,"lines":["$$\begin{gathered}\\frac\\{\\partial L(\\theta)\\}\\{\\partial \\theta\\}=\\sum \\alpha y\\^i + (\\beta-\\alpha)h(x\\^i)y\\^i-\\beta h(x\\^i)\end{gathered}$$"],"changePosition":null},"target":{"position":51,"lines":["$$\begin{gathered}\\frac{\\partial L(\\theta)}{\\partial \\theta}=\\sum \\alpha y^i + (\\beta-\\alpha)h(x^i)y^i-\\beta h(x^i)\end{gathered}$$"],"changePosition":null},"type":"CHANGE"},{"source":{"position":53,"lines":["这个公式好复杂,一般咱们面对这个复杂的公式,可以做一定的假设来看看公式的意义,例如我们假设$y\\^i=0$,那么上面这个公式的就剩下$\\beta h(x\\^i)$,就是$\\beta$乘以一个预测$x\\^i$为1的概率,同理我们假设$y\\^i=1$,那么上面这个函数就剩下$\\alpha (1-h(x\\^i))$.道理就和上面解释的一样。"],"changePosition":null},"target":{"position":53,"lines":["这个公式好复杂,一般咱们面对这个复杂的公式,可以做一定的假设来看看公式的意义,例如我们假设$y^i=0$,那么上面这个公式的就剩下$\\beta h(x^i)$,就是$\\beta$乘以一个预测$x^i$为1的概率,同理我们假设$y^i=1$,那么上面这个函数就剩下$\\alpha (1-h(x^i))$.道理就和上面解释的一样。"],"changePosition":null},"type":"CHANGE"},{"source":{"position":57,"lines":["$$\begin{gathered}[\\alpha,\\beta]=[\\frac\\{n\\}\\{2n_0\\},\\frac\\{n\\}\\{2n_1\\}]\end{gathered}$$"],"changePosition":null},"target":{"position":57,"lines":["$$\begin{gathered}[\\alpha,\\beta]=[\\frac{n}{2n_0},\\frac{n}{2n_1}]\end{gathered}$$"],"changePosition":null},"type":"CHANGE"}]

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×