Prediktor
Dua Cara Belajar · Computing Laboratory · FORTRAN 2026
Misi hari ini: buat Prediktor kelompok kalian

Misi 1 (8 menit)

  1. Pakai skenario Jarak dan waktu tempuh.
  2. Klik Terlalu kecil, lalu Latih GD. Amati bola merah.
  3. Klik Pas, lalu Latih GD.
  4. Klik Terlalu besar, lalu Latih GD.
  5. Klik Jalankan GA. Bandingkan error dan jumlah evaluasi.

Misi 2 (13 menit)

  1. Pilih skenario lain atau Skenario sendiri (isi nama, label, dan satuan).
  2. Isi 6 sampai 10 titik data. Boleh lewat tabel atau klik grafik.
  3. Latih GD dengan Pas.
  4. Klik Jalankan 5 kali untuk GA.
  5. Coba prediksi 2 atau 3 nilai x baru.
  6. Isi nomor kelompok dan satu kalimat kesimpulan di Kartu Hasil.

Tantangan tambahan

  • Tambah satu titik pencilan yang jauh dari pola. Bagaimana GD dan GA bereaksi?
  • Coba populasi 6 dan generasi 5. Seberapa jauh dari jawaban terbaik?
  • Cari learning rate terkecil yang masih mencapai selisih di bawah 10% dalam 50 langkah.

Data harus fiktif dan netral. Jangan memakai data pribadi atau nilai siapa pun.

Mission 1 (8 minutes)

  1. Use the Distance and travel time scenario.
  2. Click Too small, then Train GD. Watch the red ball.
  3. Click Just right, then Train GD.
  4. Click Too large, then Train GD.
  5. Click Run GA. Compare the error and the number of evaluations.

Mission 2 (13 minutes)

  1. Pick another scenario or Your own scenario (fill in the name, labels, and units).
  2. Enter 6 to 10 data points, in the table or by clicking the chart.
  3. Train GD with Just right.
  4. Click Run 5 times for GA.
  5. Try predicting 2 or 3 new x values.
  6. Fill in your group number and a one-sentence conclusion on the Result Card.

Extra challenges

  • Add one outlier far from the pattern. How do GD and GA react?
  • Try population 6 and 5 generations. How far are you from the best answer?
  • Find the smallest learning rate that still gets the gap below 10% within 50 steps.

Data must be fictional and neutral. Do not use personal data or anyone's grades.

Data dan Model

data garis GD garis GA jawaban terbaik garis coba-coba

Klik grafik untuk menambah titik data. Model: y = w·x + b.

Lanskap Error

error kecilerror besar
titik awal GD bola GD populasi GA jawaban terbaik

Arahkan atau klik peta untuk mencoba satu pasangan (w, b).

Latih Model

Cara 1: Gradient Descent (GD)

Cara 2: Algoritma Genetika (GA)

Tabel Data

Noxy

Prediksi

Tiga prediksi terakhir otomatis masuk ke Kartu Hasil.

Kartu Hasil