0Pricing
Deep Learning Academy · Pelajaran

Loss sebagai Lanskap untuk Dituruni

Bayangkan galat sebagai bukit dan lembah

Loss sebagai Lanskap untuk Dituruni adalah pelajaran Deep Learning Academy gratis di CoddyKit. Ini adalah pelajaran 1 dari 4. Kamu bisa membaca pelajaran lengkapnya di bawah secara gratis — lalu praktikkan langsung di browser dengan editor kode bawaan dan tutor AI 24/7. Ini adalah bagian dari jalur belajar Deep Learning Academy, dan progresmu tersinkronisasi di web dan aplikasi CoddyKit. Kursus Deep Learning Academy mencakup 4 pelajaran total.

Bagian dari pelajaran ini belum diterjemahkan dan ditampilkan dalam bahasa Inggris.

What Loss Measures

Your model's loss is a single number that says how wrong its predictions are. Smaller loss means better predictions. Training is just the quest to shrink it. 📉

Loss Depends on Weights

The same data gives different loss depending on your weights. Change a weight and the loss moves up or down. So loss is really a function of the weights.

loss = compute_loss(weights, data)

Picture a Landscape

Imagine every weight setting as a spot on a hilly landscape, and the height at that spot is the loss. Training means walking downhill to lower ground.

The Valley Is the Goal

The lowest point in this landscape is the minimum: the weights where your model predicts best. Your whole job is to reach that valley floor.

One Weight, a Simple Curve

With a single weight, the landscape is just a 2D curve. You can literally plot loss against the weight and see the dip where loss is smallest.

def loss(w):
    return (w - 3) ** 2

Two Weights, a Surface

Add a second weight and the curve becomes a 3D surface with hills and valleys. Real models have millions of weights, so the landscape lives in millions of dimensions.

You Can't See It All

In high dimensions you can never view the whole landscape at once. You only feel the slope right under your feet and step accordingly.

Steep vs Flat Ground

A steep slope means loss changes fast here, so a small step helps a lot. Flat ground means you are near a valley or a plateau and progress slows.

Not Every Valley Is the Best

The landscape can have many dips. A local minimum is a small valley that traps you above the deepest one. Deep nets usually still train well anyway.

Descending the Landscape

The whole training algorithm is called gradient descent for a reason: you repeatedly step downhill on this loss landscape until you settle near the bottom.

Why the Metaphor Helps

Thinking of loss as terrain makes training intuitive: where am I, which way is down, and how big a step should I take? Every other idea builds on this picture.

Quick Check

Let's check the landscape picture.

Recap

Loss is a number that depends on your weights, so it forms a landscape of hills and valleys. Training means walking downhill toward the lowest loss you can find. 🏔️

Pertanyaan yang Sering Diajukan

Apakah pelajaran “Loss sebagai Lanskap untuk Dituruni” gratis?

Ya — teks lengkap “Loss sebagai Lanskap untuk Dituruni” gratis dibaca di sini di web. Untuk praktiknya secara interaktif (editor kode bawaan dan tutor AI 24/7) dan buka sisa kursus Deep Learning Academy, upgrade ke CoddyKit PRO. Kursus Deep Learning Academy mencakup 4 pelajaran total.

Apa yang akan aku pelajari di “Loss sebagai Lanskap untuk Dituruni”?

Bayangkan galat sebagai bukit dan lembah Kamu berlatih Deep Learning Academy dengan kode praktik yang langsung kamu jalankan di browser, dan tutor AI 24/7 menjawab pertanyaanmu saat kamu mengerjakan pelajaran ini.

Apakah aku perlu pengalaman untuk memulai Deep Learning Academy?

Tidak diperlukan pengalaman sebelumnya. Deep Learning Academy di CoddyKit dirancang untuk pemula hingga pelajar tingkat lanjut, jadi kamu bisa memulai di sini atau dari awal dan belajar sesuai kecepatan kamu sendiri. Ini adalah pelajaran 1 dari 4.

Berapa lama pelajaran “Loss sebagai Lanskap untuk Dituruni” memakan waktu?

Sebagian besar pelajaran CoddyKit memakan waktu sekitar 5–10 menit. Setiap pelajaran ringkas dan interaktif, jadi kamu membuat kemajuan stabil dan melanjutkan dari tempat kamu tinggalkan di web dan aplikasi.

Bisakah aku menulis dan menjalankan kode dalam pelajaran Deep Learning Academy ini?

Ya. Setiap pelajaran Deep Learning Academy menyertakan editor kode bawaan, jadi kamu menulis dan menjalankan kode nyata langsung di browser dan mendapatkan umpan balik AI instan — tidak diperlukan penyiapan lokal.

Semua pelajaran dalam kursus ini

  1. Loss sebagai Lanskap untuk Dituruni
  2. Gradien Mengarah ke Atas — Jadi Melangkahlah ke Arah Sebaliknya
  3. Laju Pembelajaran: Terlalu Besar, Terlalu Kecil, Pas
  4. Minimalkan Fungsi Secara Manual dalam Python
← Kembali ke Deep Learning Academy