Deep Learning Academy · درس

قاعدة السلسلة، طبقة بعد طبقة

ركّب المشتقات عبر الشبكة

الدرس 1 من 413 خطوة

قاعدة السلسلة، طبقة بعد طبقة درس مجاني في Deep Learning Academy على CoddyKit. هذا هو الدرس 1 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في Deep Learning Academy، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة Deep Learning Academy 4 دروس في المجموع.

بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.

A Net Is Nested Functions

A neural network is just functions wrapped inside functions: each layer feeds its output into the next. Backprop needs the derivative of that whole stack.

The Chain Rule in One Line

The chain rule says the derivative of nested functions multiplies the derivatives of each piece. That single fact is the engine behind all of backprop. ⛓️

dy/dx = dy/du * du/dx

A Tiny Composition

Say z depends on y, and y depends on x. To get how z changes with x, you multiply dz/dy by dy/dx. Each link passes its slope along.

Layers Are Links in a Chain

Every layer is one link. The loss sits at the far end, the input at the near end, and gradients flow back link by link as a chain of multiplications.

Start From the Loss

Backprop begins at the loss and asks: how does loss change if this layer output nudges a bit? That answer is the first derivative in the chain.

Pass the Gradient Backward

Each layer receives the gradient from the layer above, multiplies by its own local derivative, and hands the result to the layer below.

grad_below = grad_above * local_derivative

Local Derivative of a Layer

A layer only needs to know its own local derivative: how its output changes with its input and weights. It never needs the whole network at once.

Weights Get Their Own Gradient

At each layer the incoming gradient also tells you how the loss changes with that layer's weights. That is exactly what the optimizer will use to update them.

Why Order Matters

You multiply derivatives in reverse order, from loss back to input. Going forward computes values; going backward computes how to improve them.

It Scales to Any Depth

Add ten more layers and nothing changes: you just multiply ten more local derivatives into the chain. Depth is no problem for the chain rule.

The Whole Idea, Compressed

Backprop is the chain rule applied layer by layer, from the loss back to the inputs, multiplying local slopes to find each weight's gradient.

Quick Check

Let's check the core rule.

Recap

A network is nested functions, so its derivative is a chain of multiplied local slopes. Backprop walks that chain from loss back to input. ⛓️

البدء مجانًا

تعلم Python مع معلم ذكاء اصطناعي — مجانًا

اكتب وقم بتشغيل أكوادك الفعلية في المتصفح، واحصل على مساعدة فورية من معلم ذكاء اصطناعي متاح 24/7، واستمر من حيث توقفت على الويب أو في التطبيق.

الدورات
30
الدروس
120

الأسئلة الشائعة

هل درس «قاعدة السلسلة، طبقة بعد طبقة» مجاني؟

نعم — نص درس «قاعدة السلسلة، طبقة بعد طبقة» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة Deep Learning Academy، انتقل إلى CoddyKit PRO. تتضمن دورة Deep Learning Academy 4 دروس في المجموع.

ماذا ستتعلم في «قاعدة السلسلة، طبقة بعد طبقة»؟

ركّب المشتقات عبر الشبكة تتمرن على Deep Learning Academy مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.

هل أحتاج إلى خبرة سابقة لأبدأ Deep Learning Academy؟

لا تُشترط خبرة سابقة. Deep Learning Academy على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 1 من أصل 4.

كم من الوقت يستغرق درس «قاعدة السلسلة، طبقة بعد طبقة»؟

معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.

هل يمكنني كتابة وتشغيل أكواد في درس Deep Learning Academy هذا؟

نعم. كل درس في Deep Learning Academy يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.

جميع الدروس في هذه الدورة

  1. قاعدة السلسلة، طبقة بعد طبقة
  2. التخزين المؤقت في المرور الأمامي وإعادة الاستخدام في العكسي
  3. إجراء Backprop لشبكة صغيرة يدويًا
  4. التدرجات المتلاشية والمتفجرة
← العودة إلى Deep Learning Academy