学習率:大きすぎず小さすぎず、ちょうどよく
最も重要な調整項目を学びます
「学習率:大きすぎず小さすぎず、ちょうどよく」はCoddyKit上の無料Deep Learning Academyレッスンです。 これはレッスン3/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これはDeep Learning Academy学習パスの一部であり、ウェブとCoddyKitアプリ全体で進捗が同期されます。 Deep Learning Academyコースには全4レッスンが含まれています。
このレッスンの一部はまだ翻訳されておらず、英語で表示されています。
The Size of Your Step
The gradient tells you which way to go, but how far? The learning rate is the multiplier that sets how big each downhill step is.
w = w - lr * gradA Single Powerful Knob
The learning rate is often the single most important setting in training. Get it wrong and even a perfect model will fail to learn.
lr = 0.01Too Small: Crawling
A tiny learning rate takes tip-toe steps. Loss drops, but so slowly that training drags on for ages or stalls before reaching the valley. 🐢
Too Big: Overshooting
A huge learning rate leaps so far it jumps past the valley and lands higher up the other side. Loss bounces around or shoots off to infinity.
The Divergence Warning Sign
If loss climbs or turns into NaN after a few steps, your learning rate is almost always too big. That is the clearest signal to turn it down.
Just Right: Smooth Descent
A good learning rate makes loss fall steadily and quickly without wild swings. The curve glides down and levels off near the bottom.
Sensible Starting Values
People rarely guess blindly. A common starting learning rate is around 0.001 to 0.01, then you adjust based on how the loss curve behaves.
lr = 1e-3Watch the Loss Curve
Plotting loss over time is your best guide. A diverging curve says go smaller; a flat, barely-moving curve says you can go a bit larger.
It Interacts with Batch Size
The right learning rate depends on other choices like batch size and optimizer. Change one and you may need to retune the rate.
Schedules Change It Over Time
You can even shrink the learning rate as training goes on: take big strides early, then small careful steps near the bottom for a clean finish.
Tuning Is Normal
There is no universal best value, so trying a few learning rates and comparing curves is a normal, expected part of training a model.
Quick Check
What happens with too large a learning rate?
Recap
The learning rate sets step size: too small crawls, too big overshoots and diverges, and just right glides smoothly down. Watch the loss curve and tune it. 🎯
よくある質問
「学習率:大きすぎず小さすぎず、ちょうどよく」レッスンは無料ですか?
はい。「学習率:大きすぎず小さすぎず、ちょうどよく」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、Deep Learning Academyコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 Deep Learning Academyコースには全4レッスンが含まれています。
「学習率:大きすぎず小さすぎず、ちょうどよく」で何を学びますか?
最も重要な調整項目を学びます ブラウザで直接実行するハンズオンコードでDeep Learning Academyを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。
Deep Learning Academyを始めるのに経験は必要ですか?
事前経験は必要ありません。CoddyKitのDeep Learning Academyは初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン3/4です。
「学習率:大きすぎず小さすぎず、ちょうどよく」レッスンにはどのくらい時間がかかりますか?
ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。
このDeep Learning Academyレッスンでコードを書いて実行できますか?
はい。すべてのDeep Learning Academyレッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。
このコースのすべてのレッスン
- 損失を下るべき地形として捉える
- 勾配は上り坂を指す——だから逆方向に進む
- 学習率:大きすぎず小さすぎず、ちょうどよく
- Pythonで関数を手作業で最小化する