๐Ÿ”„ Perceptron to Multi-Layer Perceptron

114 words
1 min read
Python Week 1: the first filter for runtime behavior
Visual companion
Python
Type and operator map

Python Week 1: the first filter for runtime behavior

View
Revision summary

What this note is really saying

Short form

# ๐Ÿ”„ Perceptron to Multi-Layer Perceptron ## 1. ๐ŸŽฏ Learning Objectives - Explain why single perceptron fails at XOR - Implement MLP with hidden layers - State universal approximation theorem ## 2.

๐Ÿ”„ Perceptron to Multi-Layer Perceptron

1. ๐ŸŽฏ Learning Objectives

  • Explain why single perceptron fails at XOR
  • Implement MLP with hidden layers
  • State universal approximation theorem

2. ๐Ÿ“– Core Content

3.1 XOR Problem

Single perceptron draws linear boundary. XOR requires non-linear boundary. Solution: 2-layer MLP.

3.2 MLP Architecture

Input โ†’ Hidden Layer(s) โ†’ Output Each layer: z = Wx + b, a = f(z) where f is non-linear (ReLU, sigmoid, tanh).

3.3 Universal Approximation Theorem

A feedforward network with one hidden layer (sufficient width) can approximate any continuous function to arbitrary accuracy. Width may need to be exponentially large. Join Discord PreviousActivation FunctionsNextForward Prop & Loss
Document outline

Keep your place and jump directly to a heading.

Table of contents

No note selected

Open a chapter to see its outline, backlinks, and sources here.