
Do It By Hand
Solidify your understanding with hands-on practice problems, calculating vector arithmetic, projections, and dot products manually.
Part 1: The Underlying Mechanics
Problem 1: Vector Construction (Position is Identity)
A credit-risk model locks its feature order as [Credit Score (in 100s), Years Employed, Debt Ratio]. An applicant has been employed for 4 years, carries a Debt Ratio of 0.3, and has a Credit Score of 720 (encode as ). Construct the correctly-ordered feature vector .
Reveal Solution
The applicant's facts were given out of order (Years, Debt Ratio, Credit Score) — the vector must still follow the locked order (Credit Score, Years, Debt Ratio), not the order the facts happened to be mentioned in.
Problem 2: Position Swap Consequence
A weather model locks its order as [Temperature (°F), Humidity (%), Wind Speed (mph)]. Monday's true weather is correctly logged as . An intern re-logs the exact same physical weather for Tuesday but accidentally swaps positions 1 and 2, recording . According to the locked feature order — not what the intern intended — what does the vector actually claim Tuesday's Temperature and Humidity were?
Reveal Solution
Position 1 is always read as Temperature and position 2 as Humidity, regardless of intent. So claims Temperature and Humidity — a physically different (and wrong) reading from Monday's actual / . The math has no way to know positions were swapped; it just reads position 1 as Temperature, every time. This is exactly why the order must never be scrambled.
Problem 3: Linear Combination Calculate where and .
Reveal Solution
This is scalar multiplication and vector subtraction composed: scale by , then subtract .
Problem 4: 3D Dot Product (Mixed Weights) Calculate the dot product where and .
Reveal Solution
Problem 5: The "Zero Weight" Impact Calculate where and .
Reveal Solution
No matter how large a feature's measurement is, a weight of exactly erases its influence on the score completely.
Part 2: Applied Scenario: The VC Greenlight Decision
Imagine you are building an AI decision model for a Venture Capital firm. The firm receives hundreds of startup pitches each week and wants to predict which startup pitch to greenlight based on its Unicorn Potential (whether a startup has the potential to become a billion-dollar company or fail).
First, the algorithm loads the firm's Unicorn Potential Weights () across four locked criteria: [Team Experience, Market Size, Competition, Risk]. This represents what the VC firm believes indicates a massive outcome, which directly influences whether a pitch gets greenlit or passed:
The partners heavily value a proven Team () and a massive Market (). They strongly penalize crowded Competition (), and maintain a mild appetite for high-upside Risk ().
Now, two startups submit their pitch decks:
- OmniFlow (The Hyped Veteran Pitch): Team Experience (repeat founders), Market Size (small enterprise niche), Competition (crowded market), Risk (safe, conventional product).
- Solaris AI (The Scrappy Moonshot): Team Experience (first-time founders), Market Size (massive untapped market), Competition (no direct rivals), Risk (high technical risk).
Problem 6: Two Pitches, One Decision
Part A: Encode both pitches into feature vectors, and , respecting the locked position order above.
Part B: Calculate the raw Dot Product score () for each startup.
Part C: In one sentence, which startup does the firm's Unicorn Potential model favor, and which single feature is doing the most damage to the weaker pitch?
Reveal Solution
Part A:
Part B:
To visually verify how each term contributes to the final scores, examine the computational dataflow below:

Part C: The Unicorn Potential model favors the scrappy moonshot Solaris AI ( vs. ). While human investors might be dazzled by OmniFlow's repeat-founder team (), the model exposes that intense Competition () drastically drags down its potential to return venture-scale returns.
Just like the Netflix scores of and , these are raw linear scores, not final funding decisions — they still need a Bias and an Activation Function (Topic 2) before they become clean, comparable probabilities.