Ask the Marketer First: Weights, Fuzzy Numbers and Shortlists with pyDecision

#python#data-analysis#b2b-marketing

Part 3 of a series on multi-criteria decision making for B2B SaaS marketers. Part 1 scored options against fixed targets with rubkit. Part 2 ranked them against each other with pymcdm. This one asks what the marketer actually thinks, and then checks whether the answer holds up.


Part 2 ended on an uncomfortable lesson: the weights are the decision. Same data, same methods, and MarTech Weekly was #1 or #5 depending on who picked the weights.

That leaves two bad options. Let the data pick the weights, and you get “where the numbers differ”, which has nothing to do with your strategy. Or type in percentages yourself, and you discover that nobody can say whether audience fit deserves 35% or 45%. I certainly can’t.

pyDecision has a third option, and that’s what made me want to try it. It’s the everything-library of MCDM, with around 200 functions. I didn’t try to use all of them. I picked four that answer questions I actually have as a marketer:

My question pyDecision feature
“I can’t put percentages on what matters, but I can tell you what matters most and least.” Best-Worst Method (BWM): a two-minute interview that becomes weights
“Would a different method give a different answer?” 38 ranking methods in one call, then a vote
“Some of my numbers are guesses.” Fuzzy TOPSIS: use a range instead of a number
“I don’t need a ranking. I need a shortlist, a maybe-list and a no-list.” ELECTRE TRI-B: sort into tiers, with deal-breakers

Same two problems as before: which YouTube creators to sponsor, and which landing pages perform best. And, as with the other two posts, I designed this analysis from the raw data without looking back at the earlier results. I compare them only at the end.

The interview, in code

Here’s the core of it:

import numpy as np
import pandas as pd
from pyDecision.algorithm import bw_method, topsis_method

df = pd.read_csv("youtube_influencers.csv", index_col="Channel Name")
X = df.to_numpy(dtype=float)
ctype = ["max", "max", "min", "max", "max"]   # subs, views, COST, comments, match

# The interview. Most important: audience match. Least important: subscribers.
best_over_each  = np.array([7, 2, 3, 5, 1])   # "match is 7x as important as subscribers"...
each_over_worst = np.array([1, 5, 4, 2, 7])   # "views is 5x as important as subscribers"...
weights = bw_method(best_over_each, each_over_worst, eps_penalty=1, verbose=True)
# prints: CR: 0.119 (The Consistency Level is Acceptable)

scores = topsis_method(X, weights, ctype, graph=False, verbose=False)

Two lines of numbers, and they’re answers to questions a human can answer. The rest of this post is about what those answers did.


Use case 1: which YouTube creators should we sponsor?

Ten B2B marketing creators, five columns: subscribers, average views, cost per video, comments, and my 1–10 grade for how well each audience matches our buyers. Cost is “less is better”; everything else is “more is better”. (This is the updated sheet, where I regraded MarTech Weekly’s audience match from 7 to 3.)

Four questions instead of five percentages

BWM doesn’t ask “what percentage is audience match worth?”. It asks:

  1. Which criterion matters most? Audience match. For a B2B sponsor, reaching our buyers is the whole point.
  2. Which matters least? Subscribers. Views are what we’re buying; subscribers are a weaker stand-in for them.
  3. How much more important is the best one than each of the others? On a 1–9 scale.
  4. How much more important is each one than the worst?
Criterion Audience match over this This over subscribers
Subscribers 7 1
Avg views 2 5
Cost / video 3 4
Comments 5 2
Audience match 1 7

Those are comparisons, and comparisons are much easier than percentages. “Is fit more important than views? Yes, about twice as important.” I can say that with a straight face.

The nice touch is the consistency check. Because I answered each comparison twice, from two directions, pyDecision can tell whether my answers hang together. If I’d said “match is 2× views, views is 5× subscribers, but match is only 3× subscribers”, the maths doesn’t add up, and it says so. My answers scored a consistency ratio of 0.119, comfortably under the 0.28 limit for this scale. (BWM is a lighter cousin of AHP, which I used to rank channels in my GA4 channel analysis. AHP asks you to compare every pair of criteria; BWM only asks about the best and the worst.)

Here’s what the interview produced, next to the weights the data would have picked:

Criterion BWM (me) CRITIC Entropy MEREC Equal
Subscribers 5.5% 19.2% 28.5% 20.8% 20%
Avg views 24.4% 18.0% 41.2% 42.8% 20%
Cost / video 16.4% 25.6% 18.7% 15.6% 20%
Comments 9.9% 19.5% 8.0% 12.8% 20%
Audience match 43.8% 17.7% 3.6% 8.0% 20%
Criteria weights: the BWM interview gives audience match 44%, while CRITIC, Entropy and MEREC give it 4% to 18%

Every data-driven method gives audience match between 4% and 18%. My interview gives it 44%. That’s the gap part 2 kept bumping into: the grades are bunched between 2 and 6, so the data sees little difference and weights it down. The data has no way of knowing that fit is the point.

From here on, every pyDecision result uses the interview weights unless I say otherwise.

38 methods vote

pyDecision’s compare_ranks_crisp runs dozens of ranking methods in one call. I got 38 to run cleanly (more on the ones that didn’t later), and asked each one to rank the creators.

Creator Consensus Mean rank #1 votes Top-3 votes
Growth Digest 1 1.74 21 36
AI Marketer 2 3.11 6 23
Bowen on Demand Gen 3 3.24 3 26
SaaS Explained 4 3.55 1 15
MarTech Weekly 5 3.89 8 13
The SaaS Guy 6 6.08 0 0
World of SaaS 7 6.63 0 1
Corbin on Growth 8 8.61 0 0
Augmented Marketing 9 8.63 0 0
B2B Playbook 10 9.39 0 0

Growth Digest is a clear #1: first in 21 of 38 methods and top 3 in 36. It’s the cheapest creator ($1,000), with 40,000 views and a middling-but-fine 5/10 fit. No weak spot that the interview cares about.

#2 to #5 are a group, not an order. Their mean ranks are within 0.8 of each other. And the bottom three are about as unanimous as it gets: each is in the bottom 3 for at least 35 of the 38 methods.

The odd one is MarTech Weekly. It’s 5th overall, but it has 8 first-place votes, more than anyone except Growth Digest. When I looked at which methods voted for it, five of the eight turned out to be methods that ignore the weights entirely (Borda, Copeland, MABAC, MULTIMOORA and EC-PROMETHEE). They never heard my interview. Most methods that did hear it put MarTech 5th.

That’s worth knowing about any “run lots of methods” tool: some of the voters aren’t listening to you.

The one test that matters: change the weights

So I reran all 38 methods under each set of weights:

Creator BWM (me) CRITIC Entropy MEREC Equal
Growth Digest 1 2 4 3 3
AI Marketer 2 4 2 2 4
Bowen on Demand Gen 3 5 5 5 5
SaaS Explained 4 3 3 4 2
MarTech Weekly 5 1 1 1 1
Consensus rank over 38 methods per weighting: MarTech Weekly is #1 under every scheme except the BWM interview (#5)

Look at the MarTech Weekly row. It’s #1 under every weighting except mine.

This is the same plot twist as part 2, from the other side. In part 2, I regraded MarTech’s fit from 7 to 3, and with data-driven weights nothing happened. Here, with weights that came from asking me, the same regrade drops it from #1 to #5.

That’s the lesson I’d put on a sticky note: one human grade changed the winner, but only for the method that listened to the human. If audience fit is your strategy and you let the data pick the weights, the data will quietly hide that your favourite creator is now a poor fit.

Bowen on Demand Gen is the mirror image: #3 with my weights, #5 everywhere else. Its 6/10 fit is the best left on the list, and only the interview rewards it.

What if some numbers are guesses?

Two of my inputs are shakier than they look:

  • Audience match is one person’s grade. My “5” might really be a 4 or a 6.
  • Average views is an average, and one viral video can inflate it. In my experience averages overstate more often than they understate.

Fuzzy TOPSIS lets you enter a range instead of a number: a low, a likely and a high value. I set each fit grade to ±1, and each view count to anywhere from 70% to 110% of the stated average.

Creator Exact numbers Ranges
Growth Digest 2 1
AI Marketer 1 2
Bowen on Demand Gen 3 3
SaaS Explained 4 4
MarTech Weekly 5 5
Crisp vs fuzzy TOPSIS scores: AI Marketer leads on exact numbers, Growth Digest leads once inputs become ranges

With exact numbers, TOPSIS puts AI Marketer first. Its case rests on 75,000 average views, the most on the list. Allow that average to be 30% lower, and its 4/10 fit to be a 3, and Growth Digest overtakes it. Growth Digest’s strengths are the solid ones: a fixed $1,000 price, and views that are still cheap reach at 70% of the average.

The practical rule I took from this: when a creator’s case depends on one big, uncertain number, check that number before you pay for it. For views, look at the median of their last ten videos, not the channel average.

A shortlist, not a ranking

Rankings answer “who’s best?”. But when I’m actually planning sponsorships, the question is usually “who goes on the shortlist?”. If nobody is good enough, I’d rather know that than sponsor whoever came first.

ELECTRE TRI-B sorts options into tiers. You describe the boundary of each tier, the minimum a creator needs to reach it, and the method checks each creator against those boundaries. Here are mine:

Criterion Shortlist boundary Maybe boundary Veto if this much worse
Subscribers 150,000 50,000 300,000
Avg views 30,000 10,000 30,000
Cost / video $2,500 $5,000 $5,000
Comments 18 10 15
Audience match 6/10 4/10 3 points

(There are also two smaller thresholds per criterion: how big a difference has to be before it counts at all, and when it counts fully.)

The new idea here is the veto. In every method so far, a strength on one column could make up for a weakness on another. A veto says: no. If a creator is $5,000 over my Shortlist price, it doesn’t make the shortlist, however many subscribers it has. That’s how I actually think about deal-breakers, and none of the ranking methods could express it.

The result:

Creator Tier Deal-breaker
Growth Digest 🟡 Maybe –
AI Marketer 🟡 Maybe –
Bowen on Demand Gen 🟡 Maybe –
SaaS Explained 🟡 Maybe Price, vs the Shortlist boundary ($8,500)
The SaaS Guy 🟡 Maybe –
MarTech Weekly 🔴 Pass Audience match, vs the Shortlist boundary (3 vs 6)
World of SaaS 🔴 Pass Audience match
Corbin on Growth 🔴 Pass Price and audience match
Augmented Marketing 🔴 Pass Audience match
B2B Playbook 🔴 Pass Audience match (2 vs 6)
ELECTRE TRI-B tiers for 10 creators under three rules: nobody reaches the shortlist under either pessimistic rule

Nobody makes the shortlist. That surprised me at first, and then it didn’t: Bowen is the only creator at 6/10 fit, and it’s well short of the Shortlist boundary on price, subscribers and comments. Bowen came closest (a credibility of 0.68 against the Shortlist boundary, where 0.75 was needed), then Growth Digest. In practice, I’d pick from the Maybe tier using the consensus ranking.

MarTech Weekly goes straight to Pass, not just off the shortlist. Its 3/10 fit is below even the Maybe boundary’s 4, and fit carries 44% of the weight. Losing on that one column caps it below the cut-off, whatever its other numbers.

Two things I had to learn the hard way here:

  • There are two sorting rules, and they can disagree wildly. The “pessimistic” rule puts a creator in the highest tier it clearly reaches. The “optimistic” rule puts it just below the first boundary that clearly beats it. Under the optimistic rule, Corbin on Growth makes the shortlist. It’s far worse on price ($10,000) and far better on comments (34), so vetoes fire in both directions and nothing can beat it. Neither rule is a bug; the optimistic one just gives the benefit of the doubt to options that are incomparable. Use the pessimistic rule for decisions.
  • It only sees what’s in the sheet. The SaaS Guy reaches Maybe. On paper it’s fine: 213,000 subscribers, $3,500, 4/10 fit. Nothing in the spreadsheet says its 2,500 views are about 1% of its subscribers, a dormant audience. In part 1 I built that ratio myself and rubkit caught it. Here, nobody computed it, so nobody saw it.

Use case 2: which landing pages perform best?

The second problem: eight organic landing pages from a real B2B SaaS site, anonymised as Flowmetric, a made-up product-analytics company. The columns are clicks, impressions, CTR, average position and conversions.

The question is “which pages are performing best right now?”, not “where should we invest next?”.

Choosing what to count

I used five criteria: clicks, CTR, average position (less is better), conversions, and conversion rate (conversions ÷ clicks). I dropped impressions, because clicks = impressions × CTR. With clicks and CTR already in, impressions would just count visibility a second time.

The interview again

There was no real stakeholder to interview this time, so the answers are mine, standing in for a typical content/SEO lead. Conversions matter most; average position matters least (it’s a means to clicks, and it’s averaged over every query the page shows up for).

Criterion Conversions over this This over position Weight
Clicks 2 4 22.6%
CTR 4 2 11.3%
Avg position 8 1 5.5%
Conversions 1 8 45.1%
Conversion rate 3 3 15.4%

Consistency ratio: 0.018. These answers barely contradict each other.

And the same pattern as the creators: the data-driven methods give conversions only 8–18%. Conversion counts run from 2 to 10, which is fairly similar across pages, so the data doesn’t think they matter much. Entropy puts 40% on clicks instead, because one page has half of all traffic. MEREC puts 42% on conversion rate, which ranges from 0.07% to 3.6%.

If you rank pages with weights the data picked, a page can come top on traffic alone, and you’ll never know the weights did it.

The vote

Page Mean rank #1 votes Top-3 votes Tier
Session Replay (product) 1.08 36 38 🟢 Top performer
Best analytics software (blog) 3.05 0 26 🟡 Solid
Homepage 3.21 0 27 🟡 Solid
Open-source analytics tools (blog) 3.39 2 17 🟡 Solid
Funnel reports in SQL (blog) 5.32 0 0 🟡 Solid
Trackly alternative (blog) 5.89 0 4 🟡 Solid
Pulseboard alternative (blog) 5.95 0 4 🟡 Solid
Event tracking approaches (blog) 7.92 0 0 🔴 / 🟡 (see below)

One clear winner, one clear loser. Session Replay is #1 in 36 of 38 methods and top 3 in all of them: the most conversions (10), the best CTR (12%), the best position (4.4). Event tracking approaches is bottom 3 in all 38.

And in between, #2 to #4 is a three-way tie in practice: mean ranks of 3.05, 3.21 and 3.39.

Reach or outcomes?

The weights test splits that tie wide open:

Page BWM (me) CRITIC Entropy MEREC Equal
Session Replay 1 1 1 1 1
Best analytics software 2 5 4 5 5
Homepage 3 4 3 6 3
Open-source analytics tools 4 2 2 4 2
Funnel reports in SQL 5 6 7 3 7
Trackly alternative 6 7 6 7 6
Pulseboard alternative 7 3 5 2 4
Event tracking approaches 8 8 8 8 8
  • Best analytics software is #2 only when conversions dominate. Under every other weighting it drops to #4 or #5, because its CTR (0.5%) and position (12.6) are the worst on the list. It turns 398 clicks into 9 conversions, which is product-page territory for a blog post.
  • Open-source analytics tools is #2 whenever traffic counts as much as outcomes. Its 4,037 clicks are over half the site’s total. Its 3 conversions are 0.07% of them.
  • Pulseboard alternative swings from #7 to #2 under MEREC, which loves conversion rate. Pulseboard has the best rate on the list, 3.6%, from 84 clicks.

So “is the traffic page or the converting page better?” isn’t a question the data can answer. It’s a question about what you’re rewarding: reach or outcomes. Decide that first, then rank. Swapping weights after you’ve seen the result just dresses up your gut feeling in a spreadsheet.

Is the conversion count just noise?

With 2 to 10 conversions per page, that was my biggest worry. So I gave conversions the fuzzy treatment. A common rule of thumb for counts is ± its square root, so 3 conversions became a range of roughly 1.3 to 4.7, and 10 became 6.8 to 13.2.

Nothing moved. All eight pages kept their TOPSIS rank, and Session Replay’s lead actually grew (0.591 → 0.663). Even at the low end of its range, its 10 conversions keep it clear of everyone else.

I didn’t expect that. In part 2, adding or removing one conversion moved Pulseboard alternative from #5 to #2. The difference is the weights. There, the data-driven weights gave conversion rate the most weight (33%), and one conversion moves Pulseboard’s rate by 1.2 points. Here, the interview puts conversions at 45% and conversion rate at 15%, and the pages with the most conversions are far enough ahead to absorb the noise. Same data, different question, different fragility. It’s another reason to state your weights before you trust a robustness check.

Top performers, with deal-breakers

Finally, tiers. My boundary for “Top performer” was 800 clicks, 5% CTR, position 6, 6 conversions and a 1.5% conversion rate. “Solid” was 200 clicks, 1.5%, position 10, 3 conversions and 0.5%.

ELECTRE TRI-B tiers for 8 landing pages: only Session Replay is a Top performer under the pessimistic rules
  • Only Session Replay is a Top performer. Its credibility against the Top boundary is 0.89. The next best page manages 0.19.
  • The vetoes stop the traffic pages, whatever their clicks. The Homepage (0.29%) and Open-source analytics tools (0.07%) convert so poorly that conversion rate vetoes them from the top tier. Pulseboard alternative’s 84 clicks get vetoed the same way, from the other direction.
  • Event tracking approaches is right on the line. Its credibility against the Solid boundary is 0.774, just over the 0.75 cut-off. By the textbook definition, it’s Solid. pyDecision’s own function says Underperforming. Which brings me to the part of this post I didn’t plan to write.

Trust, but check

pyDecision is broad. It is not uniformly careful. On these two small datasets I found six problems:

Problem What it did What I did
VIKOR inside compare_ranks_crisp ranks by the row’s ID instead of its VIKOR score On the first version of the creator data, it put The SaaS Guy (2,500 views) at #1 Ran VIKOR directly and passed it in as a custom method
PSI ignores the weights you give it Same ranking under my weights, equal weights and 90%-on-clicks Left it out
MAUT crashes IndexError Left it out
ELECTRE TRI-B wants boundaries worst-first, which isn’t documented Passed best-first, 7 of 8 landing pages landed in the top tier Passed them worst-first
ELECTRE TRI-B ignores the “too small to matter” threshold Event tracking approaches drops from Solid to Underperforming; The SaaS Guy from Maybe to Pass Wrote a short textbook version to cross-check, and reported both
EC-PROMETHEE uses Python’s random, not numpy’s Two identical runs gave different rankings (the bottom two pages swapped) Seeded both random number generators

None of these throw an error (except MAUT). They just give you a plausible-looking wrong answer, which is worse.

Two cheap checks caught all of them:

  1. Does the #1 make sense? A creator with 2,500 views at the top of a ranking is not a subtle signal.
  2. Does an independent version agree? For ELECTRE TRI-B, I wrote the textbook calculation myself in a few dozen lines and compared. Same for running a method twice and checking you get the same answer.

I don’t say this to put anyone off. A library with 200 functions maintained by a small team will have rough edges, and the breadth is genuinely useful. But it means pyDecision is a tool for someone who’ll check its work, not a black box to paste into a deck.


What I’m taking away

  1. Ask before you calculate. A two-minute BWM interview gave weights I could defend, and a consistency score that tells me when I’m contradicting myself. It’s the practical middle ground between “the data decides” and “type in percentages”.
  2. Data-driven weights miss what matters most. In both problems they gave my most important criterion under 20%. In both problems, that changed the answer.
  3. Read the vote, not just the winner. Top-3 votes and the spread of ranks tell you whether a #2 is real or a coin toss. And check which methods are voting: some ignore your weights entirely.
  4. Turn guesses into ranges. If an option falls when its numbers get fuzzy, its case rests on something you should verify first. If nothing moves, you’ve earned some confidence.
  5. Deal-breakers need vetoes. In a weighted score, enough subscribers can buy back a terrible fit. A veto says no. If you have real deal-breakers, use a method that can express them, and use the pessimistic rule.
  6. “Nobody made the shortlist” is a valid answer. A ranking always has a #1. A sort doesn’t have to.
  7. Verify the library. Six problems, two datasets, all silent. Check that the #1 makes sense and cross-check one method by hand.

Three libraries, side by side

Here’s how the three answered the creator question:

rubkit pymcdm pyDecision
#1 Growth Digest MarTech Weekly Growth Digest
Top 4 Growth Digest, AI Marketer, Bowen, then a three-way tie MarTech Weekly, SaaS Explained, Growth Digest, AI Marketer Growth Digest, AI Marketer, Bowen, SaaS Explained
MarTech Weekly Capped by the fit rule #1 (data-driven weights) #5, tier Pass

And the landing pages: all three put Session Replay first and Event tracking approaches last. All three disagree about the middle. I’ve come to think that’s the most honest result in the whole series: the middle six pages aren’t separable on this data, and any tool that gives you a confident #2 to #7 is telling you about its weights, not your pages.

The creator table tells a similar story. pymcdm is the odd one out not because it’s wrong, but because I let the data choose its weights. rubkit and pyDecision both had my priorities built in, one through a fit rule, the other through an interview, and they landed on the same top three. The tools agree once they’re told the same thing.

rubkit pymcdm pyDecision
Question Does this clear our bar? Which is best among these? What do I think matters, and does the answer survive?
Where weights come from You write them The data, or you An interview, with a consistency check
Deal-breakers Gates No Vetoes (ELECTRE TRI-B)
Uncertain inputs Model them yourself No Fuzzy methods
Breadth One method, done well ~20 methods, consistent API ~200 functions, uneven
Best for Repeatable scorecards Exploring the data Eliciting priorities, stress-testing

If I were starting a new decision tomorrow, I’d do it in this order: a BWM interview with whoever owns the decision, to get the weights; pymcdm or pyDecision to see what the data says and where methods disagree; and rubkit to turn what I learned into a scorecard I can rerun every month.

That’s the series. Three libraries, two spreadsheets, and the conclusion I least expected at the start: the hard part of a marketing decision was never the maths. It’s deciding what you care about, and then noticing when a tool has quietly decided it for you.

As always, if you think I’ve got any of this wrong, tell me. I’d especially like to hear from anyone who’s run a BWM interview with a real team: I suspect the arguments about the answers are worth more than the weights.