Repository navigation
Module 04
Level: Beginner
Scope: Course Core
Status: Planned — navigation and lesson specifications
This module is a self-contained learning unit within the larger Deep Learning curriculum. Its purpose is to build understanding from motivation and prerequisites through mathematical reasoning, implementation and critical evaluation.
- Explain threshold units.
- Derive a linear decision boundary.
- Explain why one perceptron cannot represent XOR.
- Module-04-Lesson-Map
- Module-04-Important-Lessons
- Module-04-Numericals-and-Exercises
- Module-04-Implementation-Roadmap
- Module-04-Research-Extensions
- Module-04-biological-neurons-mp-neurons-perceptrons
Each page below isolates a specific concept or closely related group of concepts. The labels make its role in the curriculum visible at first glance.
- Module-04A-Biological-and-MP-Neuron-Models — [COURSE CORE] [THEORETICAL FOUNDATION]
- Module-04B-Perceptron-Geometry-and-Learning — [COURSE CORE] [MATHEMATICAL]
- Module-04-Lesson-01
- Module-04-Lesson-02
- Module-04-Lesson-03
- Module-04-Lesson-04
- Module-04-Lesson-05
- Module-04-Lesson-06
- Module-04-Lesson-07
- Module-04-Lesson-08
- Module-04-Lesson-09
- Module-04-Lesson-10
- Study the lessons in prerequisite order.
- Write a notation sheet and derive central equations.
- Solve at least one hand-worked example per major mechanism.
- Implement core operations where appropriate.
- Verify outputs and gradients.
- Complete conceptual and coding exercises.
- Record limitations and research extensions.
- Conceptual understanding
- Mathematical derivations
- Worked numerical examples
- NumPy implementation (where applicable)
- PyTorch implementation (where applicable)
- Tests and numerical verification
- Experiments and interpretation
- Revision and self-assessment
The biological neuron analogy motivates artificial threshold units but should not be mistaken for a faithful model of neurobiology. The McCulloch–Pitts neuron computes a thresholded weighted input. The perceptron learns a linear decision boundary and introduces an error-driven update rule.
A threshold unit is $$ y=\mathbb{1}\left[\sum_{i=1}^{d}w_ix_i+b\geq0\right]. $$
For a misclassified example, a perceptron update is $$ w\leftarrow w+\eta(y-\hat y)x, \qquad b\leftarrow b+\eta(y-\hat y). $$
A linear decision boundary satisfies
For AND on binary inputs, choose
flowchart TD
A[Input features x] --> B[Weighted sum w dot x]
C[Bias b] --> B
B --> D{Sum >= threshold?}
D -->|Yes| E[Output 1]
D -->|No| F[Output 0]
Enumerate all Boolean input combinations and verify the truth table. Plot the decision boundary for two features. For XOR, show that no single straight line separates positive and negative examples.
A threshold unit and a differentiable sigmoid unit are different models. Perceptron convergence requires linearly separable training data. The biological analogy is conceptual; real neurons have temporal dynamics, complex dendritic computation and biochemical processes.
Study kernel perceptrons, margin-based classifiers, support vector machines and the relationship between linear separability and feature representations.
- Reproduce the smallest mathematical example by hand.
- Implement the central operation using NumPy.
- Implement the same operation using PyTorch.
- Compare outputs and gradients with numerical tolerances.
- Change one assumption or hyperparameter and document what changes.
- Record environment, random seed, data split, compute budget and limitations.
- Explain the motivation and assumptions without notes.
- Derive the principal equations and define every symbol.
- Complete at least one worked numerical example.
- Trace tensor shapes through the computation.
- Implement and test the central mechanism.
- Explain at least two failure modes.
- Read one primary paper and summarize its contribution and limitations.
Content status: This page now contains a technical chapter and a practical learning specification. The linked lesson pages provide focused subtopic treatment; experiments are not claimed complete until their result logs are added.
🏠 Home · 🗺️ Curriculum · 🧭 Learning paths · ❓ Question bank · 📖 Glossary · 📚 References · ✏️ Contributing
🏠 Home · 🗺️ Curriculum · 🧭 Learning paths
❓ Question bank · 📖 Glossary · 📚 References
Jump to module:
01 02 03 04 05 06 07 08 09 10 11 12
13 14 15 16 17 18 19 20 21 22 23 24