Clanlu Clanlu
  • 请到 [后台->外观->菜单] 中设置菜单
  • 登录
现在登录。
  • 请到 [后台->外观->菜单] 中设置菜单

Solution to Mathematics for Machine Learning Exercise 5.3

Math 2年 前

Compute the derivative $f’(x)$ of the function $$f(x)=\exp\left(-\frac{1}{2\sigma^2}(x-\mu)^2\right).$$


Solution: Clearly, we have $$\left(-\frac{1}{2\sigma^2}(x-\mu)^2\right)’=-\frac{1}{2\sigma^2}2(x-\mu)=\frac{-(x-\mu)}{\sigma^2}.$$Therefore, by Chain rule (5.32), we have \begin{align*}f’(x)=&\ \exp\left(-\frac{1}{2\sigma^2}(x-\mu)^2\right)\cdot \left(-\frac{1}{2\sigma^2}(x-\mu)^2\right)’\\=&\ \frac{-(x-\mu)}{\sigma^2}\cdot\exp\left(-\frac{1}{2\sigma^2}(x-\mu)^2\right)\end{align*}


#Chain rule#Derivative
0
Math
O(∩_∩)O哈哈~
猜你喜欢
  • An example explains the impotance of assumption in L’Hospital’s Rule
  • Application of L’Hospital’s Rule
  • Limits involving the definition of the natural constant e
  • Compute limits using L’Hospital’s Rule III
  • Compute limits using L’Hospital’s Rule II
26 5月, 2020
The order of a product of commuting group elements divides the least common multiple of the orders of the elements
精选标签
  • Subgroup 40
  • Order 37
  • Counterexample 36
Copyright © 2022 Clanlu. Designed by nicetheme.