WhoKnew Views™ | Changepoint Analysis (Behavior Shifts)

Skip to main content
Table of Contents
Print

How Prophet AI detects when your traffic fundamentally shifts—viral spikes, gradual declines, and trend reversals

One day your product is averaging 50 views. The next day, it’s 500. Something happened. An influencer mentioned you. A competitor went out of stock. Your ad went viral. These aren’t random fluctuations—they’re changepoints.

WhoKnew the Future™ uses automatic changepoint detection to identify exactly when your traffic behavior fundamentally shifted. Let’s explore how this works.


📐 The Trend Component: g(t)

Remember Prophet’s formula? Changepoint detection is part of the g(t) component:

📐 PROPHET PREDICTIVE MODEL

ŷ(t) = g(t) + s(t) + m(t)

g(t) = Piecewise Linear Trend + Changepoint Detection

Unlike simple linear regression that draws a single straight line, Prophet uses piecewise regression—breaking the trend into segments, each with its own slope. The changepoints are where those segments connect.


🎯 What Is a Changepoint?

A changepoint is a moment in time when the underlying behavior of your traffic fundamentally changes. It’s not just a spike or dip—it’s a shift in the pattern itself.

🚀

📈

Positive Changepoint

Viral Spike / Surge

Traffic suddenly jumps to a new higher baseline. Not a temporary spike, but a sustained shift upward.

BEFORE → CHANGEPOINT → AFTER

⬆️ Baseline shifts upward

📉

📉

Negative Changepoint

Decline / Drop-Off

Traffic suddenly drops to a new lower baseline. Something broke—a trend shifted, interest faded, or competition emerged.

BEFORE → CHANGEPOINT → AFTER

⬇️ Baseline shifts downward

⚡

⚡

Slope Changepoint

Acceleration / Deceleration

Traffic was growing at 5%/week. Now it’s growing at 20%/week. The rate of change itself changed.

SLOPE CHANGE (ACCELERATION)

↗️ Growth rate increases (steeper slope)


🔬 Piecewise Linear Regression

Traditional trend lines draw one straight line through your data. This works terribly when behavior changes mid-stream:

❌

Simple Linear Regression

One line misses the changepoint entirely. Predictions will be wrong.

✅

Piecewise Linear (Prophet)

Multiple segments with a detected changepoint. Future predictions account for the shift.


⏰ When Changepoint Detection Unlocks

Changepoint detection requires seeing at least one full pattern cycle. It unlocks at Stage 2 (7-14 days):

2

Stage 2: Pattern Emergence

Days 7-14 • Detecting basic trends

✓Day-of-week pattern analysis

★Automatic changepoint detection

✓Enhanced momentum calculations


🧠 How Prophet Uses Changepoints

Once a changepoint is detected, Prophet adjusts future predictions accordingly:

🔮 FORECAST ADJUSTMENT LOGIC

📈

Detected: Upward Changepoint (Day 12)

“Traffic jumped 3× on this date. I’ll use the new higher baseline for future predictions instead of averaging the whole period.”

📉

Detected: Downward Changepoint (Day 45)

“Traffic dropped 60% after this date. I’ll predict based on the new lower reality—not the old glory days.”

⚡

Detected: Acceleration Changepoint (Day 28)

“Growth rate increased from 5%→15%. I’ll project the steeper trajectory forward, not the old slow growth.”


🎯 Real-World Changepoint Triggers

What causes changepoints in e-commerce traffic? Here are common triggers:

TypeTriggerWhat Prophet Sees
🚀Influencer MentionSudden 5-10× spike, new elevated baseline
🛒Competitor StockoutGradual uptick as customers find you
💰Price IncreaseSharp drop in traffic after change
📣Ad Campaign LaunchStep-function increase during campaign period
⭐Negative Review Goes ViralDecline inflection point, new lower normal
📰Press FeatureSpike followed by elevated “halo” baseline

📊 Changepoint Detection in Action

Here’s a visual representation of how Prophet segments your traffic history around detected changepoints:

📈 PIECEWISE TREND MODEL WITH 2 CHANGEPOINTS

CP1 ↑

CP2 ↓

Segment 1: Slow growthSegment 2: Viral accelerationSegment 3: Decline correction

💡 Why This Matters:
Without changepoint detection, Prophet would draw a single average line through all three segments—completely missing the viral surge and subsequent decline. With changepoint detection, forecasts respect the current reality, not historical averages.


⚙️ Automatic vs. Detected

Prophet’s changepoint detection is 100% automatic. You don’t need to:

🚫

Mark events manually

🚫

Configure thresholds

🚫

Retrain models

Prophet analyzes your traffic, detects statistically significant shifts, and adjusts automatically. The more data it has, the better it distinguishes true changepoints from random noise.


🏆 The Takeaway: Changepoint detection ensures your forecasts reflect current reality—not outdated averages. When your traffic fundamentally shifts, Prophet shifts with it. No manual intervention required.

Share