Foundations — Decision boundaries
Before you can derive that fence (the job of Decision boundaries), you must be fluent in every symbol the parent note throws at you. This page builds each one from nothing — plain words, a picture, and why the topic can't live without it.
0. The stage: feature space
Everything happens on a map. Each thing we want to classify (an email, a patient, a flower) is described by numbers called features. Two features = a 2D map, three = a 3D room, and so on.

Why the topic needs it: A decision boundary is a shape drawn on this map — you cannot talk about a boundary without first agreeing on the map it splits.
1. The symbols, in build order
1.1 , , — a single feature (a number)
Plain words: a lowercase with a little number below is one measurement — one axis of the map. might be "height", might be "weight".
Picture: a position along one axis. means "walk 3 steps along the first axis".
Why needed: the boundary equation is built out of these individual numbers.
1.2 — a vector (a whole point, all features at once)
Why needed: the boundary condition talks about a whole point at once — so we need one letter for "the whole point".
1.3 — the weight vector (the model's opinion)
Plain words: is a list of importance dials, one per feature. A big means "feature 1 matters a lot for deciding the class".
Picture: an arrow living on the same map as . As we'll see, this arrow points perpendicular to the fence.

Why needed: decides the tilt (orientation) of the boundary.
1.4 — the bias (a shift number)
Plain words: a single number added on top, the offset. It slides the fence back and forth without tilting it.
Picture: pushing the whole chalk line sideways, keeping its angle fixed.
Why needed: without the fence would be forced through the origin ; frees it to sit anywhere.
1.5 — the dot product (combining opinion with the point)
This is the workhorse. Let's earn it slowly.
WHY the dot product and not, say, just adding features? Because we need each feature to carry different weight — a straight average can't do that. The dot product is the simplest tool that lets every feature vote with its own strength. Geometrically it also measures how far along the direction a point sits, which is exactly the "which side of the fence" question.

1.6 — the linear score
Plain words: stack the weighted sum and the shift together: This single number is the raw score: positive leans class 1, negative leans class 0, zero is the tie.
Picture: a signed "how far past the fence" reading. On the fence ; walk toward class 1 and climbs positive; walk the other way and it dives negative.
Why needed: the entire topic collapses to solving . Everything else is dressing.
1.7 — the sigmoid (score → probability)

Here is a fixed constant (the natural number) and means " raised to the power ". You don't need to compute it by hand — you need to know the shape.
WHY a sigmoid and not just ? Because a probability must live between 0 and 1, but can be any number (like or ). The sigmoid is the tool that bends an unbounded score into a legal probability, while never changing the order (bigger → bigger probability).
1.8 — a conditional probability
Plain words: "the chance that the label is class 1, given the point ". The bar reads "given / knowing".
Picture: a confidence dial reading between 0 and 1 attached to every dot on the map.
Why needed: the boundary is defined as where this dial reads .
1.9 The threshold and the boundary condition
Two classes, and their probabilities must sum to 1: They are equal exactly when each is . That knife-edge tie is the boundary.
1.10 Hyperplane and normal vector
Why needed: knowing is perpendicular is what lets us measure distance from the fence and read off the class from a sign.
1.11 — the length of the weight vector
The double bars mean "length of the arrow": It appears in the distance-from-boundary formula , where dividing by the length turns the raw score into an honest distance in map-units.
2. Why scaling doesn't move the fence (a symbol check)
If you multiply both and by any positive : The set of solution points is identical. This is why the parent note insists magnitude changes confidence steepness (how fast the sigmoid saturates), not the fence location. Now you can see it's pure algebra on the symbols you just learned.
3. Prerequisite map
Equipment checklist
Test yourself — cover the right side and answer out loud.
What does bold mean versus plain ?
How do you compute the dot product ?
What is in one sentence?
What shape is the sigmoid and what value does it give at ?
Why does turn into ?
What does do to the boundary?
What does do geometrically?
Why is a decision boundary called a hyperplane?
Does scaling by move the fence?
What is ?
Connections
- Decision boundaries — the parent topic these foundations feed into.
- Sigmoid Function — the S-curve and its monotonicity, built here.
- Logistic Regression — assembles , , and the fence.
- Linear Regression — same linear score , different output.
- Feature Engineering — where new features (like ) come from to curve the fence.
- Support Vector Machines — leans hard on the normal vector and margin.
- Softmax Classification — many probabilities and many fences at once.