Hi everyone,
As I’ve been moving through this course, one idea keeps circling in my mind—especially around the function
f(x) = wx + b
used in linear regression.
We’re told it’s just a line in 2D space. And technically, it is. But I can’t shake the sense that this “line” is really the flattened projection of a higher-dimensional object—and that we’re losing conceptual clarity by calling it only a line.
Here’s what I mean:
w
(the weight) doesn’t just tilt the line—it transforms the x-axis. It feels like it’s applying a scaling or rotation from an outside influence.
b
(the bias) isn’t just a number we add—it acts like an anchor, raising or lowering the entire output space into a new layer of y.
Now, this makes perfect sense if we’re dealing with multiple inputs—where f(x)
becomes a plane or a hyperplane. But even with just one variable, I think it’s helpful to realize:
This “line” is really a 2D shadow of a 3D or nD process.
We’re not just drawing from a simple y = mx + b equation; we’re slicing through a larger structure.
Why This Matters (At Least to Me)
In school, we were taught that 2D means two variables—length and width. But here, even when it’s a 2D chart, we’re injecting extra dimensions through parameters like w
, b
, and eventually through m
(number of examples), loss functions, and model behavior.
So yes, the chart is flat—but the system it represents isn’t.
Curious if Others Feel This
Has anyone else thought of f(x) = wx + b
as something deeper than a line?
Or maybe wondered why it feels like we’re working in more than two dimensions—but only plotting two?
Would love to hear how you’ve been visualizing it—or if you’ve had to re-train your brain to think “flatter” than it really wants to.
Cheers,
Daniel
Week 1?
linear-regression-model-part-2
- Description How can
f(x) = wx + b
be scalar when it points to a multidimensionality