Python: Gradient descentを学ぶ1, krita, python ver. 3

Last Updated on February 5, 2021 by shibatau

I.何をする?

 

機械学習に必須のGradient descentについて次の解説で学びます。

 

AN INTRODUCTION TO GRADIENT DESCENT

 

Gradient Descent, clearly explained in Python, Part 1: The troubling theory

 

Gradient Descent — Intro and Implementation in python

 

また、次の解説にしたがって、KritaでGradient descentを解説するアニメーションを作成します。

 

 

 

簡単なアニメーションを作成しました。上の解説のとおりでできますが、Renderingに使用するffmpegを開くのに、Security and Privacy > Generalで、Open Anywayを選ぶ必要があります。

 

via GIPHY

 

 

II.Gradiant descentをわかりやすくたとえると

 

あなたが地図もコンパスもなくして道に迷ったとします。山を降りたいのですが、どうしますか?

まずは、山の頂上と反対方向で下り坂になっている方向に進みますよね」

 

 

With Krita

 

III.数式で表現すると

 

To be continued.

About shibatau

I was born and grown up in Kyoto. I studied western philosophy at the University and specialized in analytic philosophy, especially Ludwig Wittgenstein at the postgraduate school. I'm interested in new technology, especially machine learning and have been learning R language for two years and began to learn Python last summer. Listening toParamore, Sia, Amazarashi and MIyuki Nakajima. Favorite movies I've recently seen: "FREEHELD". Favorite actors and actresses: Anthony Hopkins, Denzel Washington, Ellen Page, Meryl Streep, Mia Wasikowska and Robert DeNiro. Favorite books: Fyodor Mikhailovich Dostoyevsky, "The Karamazov Brothers", Shinran, "Lamentations of Divergences". Favorite phrase: Salvation by Faith. Twitter: @shibatau

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.