Using ML To Predict Whether Medium Articles Will Go Viral

Aaryan Harshith
8 min readApr 12, 2020

Is this article going to get a lot of claps?

It’s the age-old question that Medium writers have been asking for millennia (probably not). Trust me, we’ve tried everything —writing between 6 to 7 min reads, getting into big publications, and of course, even putting up those flashy header images to catch your attention. That’s right — us writers want to get views and claps, so that’s what we try optimizing for.

Despite all that effort, a lot of the time, even following every guideline to reach Medium fame doesn’t work out for most people, since they don’t know when to apply certain principles depending on what they’re writing. To top that off, success on Medium also needs a bit of luck. Two identical articles might end up gathering a completely different number of stats just because one managed to publish at the right time.

In short, unless you’re loaded with cash to spend on running ads, there’s a lot of factors that play into gaining fame on Medium, or any social platform in general. Especially if you’re a new writer, chances are that you’re going to be completely overwhelmed.

That includes me.

Even now, after writing for about six months (which isn’t really that long), I still find myself confused about how I should write and promote my content to attract more people. It used to feel like Medium was like a black box when I started writing, and I can assure you, nothing’s changed since then.

Just when I started to think I was going to keep getting the short end of the Medium stick (haha), an idea struck me. Machine Learning. Using Machine Learning (ML), I could analyze datasets of articles to find the key to getting Medium famous. I could already imagine where I where I would go on vacation after becoming a professional writer. If there was a holy grail, I knew I was going to find it.

Game on!

Cracking The Medium Code With ML: The Data

Of course, I’m not going to share the trade-secrets of a multinational company like Medium to you without getting something in return. But, I’m generous, so all I ask is that you read the step-by-step process I followed through with (or…

--

--