Deep Learning Academy · درس

مشكلة XOR: لماذا لا تكفي خلية عصبية واحدة

الحد الذي يستلزم طبقات مخفية

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

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

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

Meet XOR

The XOR rule outputs 1 when exactly one input is 1, and 0 otherwise. It looks simple, yet it broke early neural networks. 🤔

The XOR Truth Table

XOR gives 0 for (0,0) and (1,1), but 1 for (0,1) and (1,0). The matching pairs say no, the mismatched pairs say yes.

Plot the Four Points

Place the four inputs on a grid. The two yes points sit on opposite corners, with the no points filling the other two.

No Single Line Works

Try to split the yes corners from the no corners with one straight line. You simply cannot do it. The classes interlock diagonally.

Not Linearly Separable

XOR is the classic example of data that is not linearly separable. A single neuron, limited to a straight boundary, can never solve it.

The Perceptron Stalls

Train a perceptron on XOR and it never converges. The weights keep wobbling because no line satisfies all four examples at once.

A Historic Roadblock

This XOR limit, exposed in 1969, helped trigger an AI winter. People doubted neural nets could ever handle hard problems.

Add a Hidden Layer

The fix is to stack neurons. A hidden layer lets the network combine several lines into a more complex shape.

Bend the Boundary

With a hidden layer plus nonlinearity, the network can bend its boundary. Now it wraps around the yes corners and ignores the no ones.

Two Neurons Solve It

Just two hidden neurons feeding one output neuron can crack XOR. Each hidden unit draws a line, and the output combines them.

Why Depth Matters

XOR is the smallest proof that depth matters. Stacking layers is what lets networks learn curves, corners, and real-world complexity.

Quick Check

Recall why XOR defeats a single neuron.

Recap

XOR is not linearly separable, so one neuron fails. Adding a hidden layer lets the network bend its boundary and solve it. Depth unlocks power. 🚀

البدء مجانًا

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

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

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

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

هل درس «مشكلة XOR: لماذا لا تكفي خلية عصبية واحدة» مجاني؟

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

ماذا ستتعلم في «مشكلة XOR: لماذا لا تكفي خلية عصبية واحدة»؟

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

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

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

كم من الوقت يستغرق درس «مشكلة XOR: لماذا لا تكفي خلية عصبية واحدة»؟

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

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

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

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

  1. الأوزان والانحياز والمجموع الموزون
  2. دالة الخطوة والقرارات الخطية
  3. برمجة Perceptron من الصفر
  4. مشكلة XOR: لماذا لا تكفي خلية عصبية واحدة
← العودة إلى Deep Learning Academy