0Pricing
Deep Learning Academy · บทเรียน

ปัญหา XOR: เหตุใดเซลล์ประสาทเดียวจึงไม่พอ

ข้อจำกัดที่ทำให้ต้องมีชั้นซ่อนอยู่

ปัญหา XOR: เหตุใดเซลล์ประสาทเดียวจึงไม่พอ เป็นบทเรียน Deep Learning Academy ฟรีบน CoddyKit นี่คือบทเรียนที่ 4 จากทั้งหมด 4 บทเรียน คุณสามารถอ่านบทเรียนทั้งหมดด้านล่างฟรี — จากนั้นลองปฏิบัติด้วยตัวคุณเองในเบราว์เซอร์พร้อมตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 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. 🚀

คำถามที่พบบ่อย

บทเรียน “ปัญหา XOR: เหตุใดเซลล์ประสาทเดียวจึงไม่พอ” ฟรีหรือไม่

ใช่ — ข้อความเต็มของ “ปัญหา XOR: เหตุใดเซลล์ประสาทเดียวจึงไม่พอ” ฟรีให้อ่านที่นี่บนเว็บ เพื่อปฏิบัติแบบโต้ตอบ (ตัวแก้ไขโค้ดในตัวและติวเตอร์ AI ตลอด 24/7) และปลดล็อคส่วนที่เหลือของคอร์ส Deep Learning Academy ให้อัปเกรดเป็น CoddyKit PRO คอร์ส Deep Learning Academy มีบทเรียนทั้งหมด 4 บทเรียน

คุณจะเรียนรู้อะไรในบทเรียน “ปัญหา XOR: เหตุใดเซลล์ประสาทเดียวจึงไม่พอ”

ข้อจำกัดที่ทำให้ต้องมีชั้นซ่อนอยู่ คุณปฏิบัติ Deep Learning Academy ด้วยโค้ดที่ใช้งานได้จริงที่คุณเรียกใช้โดยตรงในเบราว์เซอร์ และติวเตอร์ AI ตลอด 24/7 ตอบคำถามของคุณขณะที่คุณไปผ่านบทเรียน

คุณต้องมีประสบการณ์ก่อนที่จะเริ่มเรียน Deep Learning Academy หรือไม่

ไม่จำเป็นต้องมีประสบการณ์มาก่อน Deep Learning Academy บน CoddyKit ออกแบบมาสำหรับผู้เริ่มต้นไปจนถึงผู้เรียนขั้นสูง คุณสามารถเริ่มต้นที่นี่หรือเริ่มจากตัวแรกและเรียนด้วยความเร็วของคุณเอง นี่คือบทเรียนที่ 4 จากทั้งหมด 4 บทเรียน

บทเรียน “ปัญหา XOR: เหตุใดเซลล์ประสาทเดียวจึงไม่พอ” ใช้เวลานานแค่ไหน

บทเรียน CoddyKit ส่วนใหญ่ใช้เวลาประมาณ 5–10 นาที แต่ละบทเรียนจึงสั้นและเป็นแบบโต้ตอบ คุณสามารถก้าวหน้าอย่างต่อเนื่องและกลับมาเรียนต่อจากตรงที่เพิ่งหยุดบนเว็บและแอปได้เลย

ฉันเขียนและรันโค้ดในบทเรียน Deep Learning Academy นี้ได้ไหม

ได้ บทเรียน Deep Learning Academy ทุกบทมีตัวแก้ไขโค้ดในตัว คุณจึงเขียนและรันโค้ดจริงได้เลยในเบราว์เซอร์ และได้รับข้อเสนอแนะจาก AI ในทันที — ไม่ต้องติดตั้งในเครื่องของคุณ

บทเรียนทั้งหมดในหลักสูตรนี้

  1. น้ำหนัก ไบแอส และผลรวมถ่วงน้ำหนัก
  2. ฟังก์ชันขั้นบันไดและการตัดสินใจเชิงเส้น
  3. เขียนเพอร์เซ็ปตรอนตั้งแต่ต้น
  4. ปัญหา XOR: เหตุใดเซลล์ประสาทเดียวจึงไม่พอ
← กลับไปที่ Deep Learning Academy