<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Math on</title><link>http://knoverse.io.vn/series/math/</link><description>Recent content in Math on</description><generator>Hugo</generator><language>en</language><copyright>&lt;a href="http://knoverse.io.vn/" target="_blank" rel="noopener"&gt;Khanh&lt;/a&gt;</copyright><lastBuildDate>Fri, 15 Sep 2023 00:00:00 +0000</lastBuildDate><atom:link href="http://knoverse.io.vn/series/math/index.xml" rel="self" type="application/rss+xml"/><item><title>Vector Gradient &amp; Directional Derivative</title><link>http://knoverse.io.vn/posts/2023/09/vector-gradient-directional-derivative/</link><pubDate>Fri, 15 Sep 2023 00:00:00 +0000</pubDate><guid>http://knoverse.io.vn/posts/2023/09/vector-gradient-directional-derivative/</guid><description>&lt;p&gt;Các thuật toán tối ưu hàm mất mát (loss function) phổ biến hiện nay như Gradient Descent hay Adam &amp;hellip; đã cho thấy tính hiệu quả trong quá trình huấn luyện mô hình. Các thuật toán này hoạt động bằng cách cập nhật trọng số (weight) theo hướng ngược lại với vector gradient. Tại sao lại phải là ngược hướng Vector Gradient?&lt;/p&gt;
&lt;h2 id="1-ordinary-derivativeđạo-hàm-thông-thường"&gt;1) Ordinary derivative(đạo hàm thông thường)&lt;/h2&gt;
&lt;p&gt;Đạo hàm cấp 1 của hàm một biến ($f: \mathbb{R} \to \mathbb{R}$) (ordinary derivative) tại điểm $x$ được định nghĩa là :
$$
f&amp;rsquo;(x) = \lim_{\Delta x \to 0} \frac{f(x - \Delta x) - f(x)}{\Delta x}
$$
Công thức trên khá quen thuộc trong chương trình THPT . Nó biểu thị tốc độ thay đổi của $f(x)$ khi $x$ thay đổi một lượng rất nhỏ là $\Delta x$. . Đối với đồ thị trên mặt phẳng tọa độ, đạo hàm tại một điểm trên đồ thị bằng độ dốc của đường tiếp tuyến với đồ thị tại điểm đó. Chính vì thế mới có nguyên tắc tìm tiếp tuyến của đồ thị tại một điểm bằng cách tính đạo hàm.&lt;/p&gt;</description></item></channel></rss>