Photo by Charles Deluvio on Unsplash

So, you’ve fit a model, did your prediction and you now get a ridiculously high score. You’re a genius! Or… maybe not?

When it comes to building machine learning models, a common mistake that many beginners make is not being able to make sense of why a certain model is performing well or even underperforming. How do you know if your model is good and how can you fix it if it's not?

Any model in machine learning is assessed based on the prediction error on a new independent and unseen set of data. Error is nothing but the difference…


Photo by Franki Chamaki on Unsplash

I have come across a noticeable pattern on many data science websites such as Kaggle, where someone will share their machine learning model that claims 100% accuracy (across all metrics). While achieving scores that approach perfection can be possible, it is not very common in most scenarios.

As I began to look into these models further, I noticed that in almost every scenario, the person has either mistakenly or been naive to the fact that these scores were due to some form of data leakage.

What is Data Leakage?

In layman terms, data leakage is when your model is fit on data that it…


Photo by Gregory Pappas on Unsplash

Influenced by a book that I have recently enjoyed, “Why We Sleep, Unlocking The Power Of Sleep And Dreams” by Matthew Walker, I wanted to share a few tips to help improve everybody’s quality of sleep.

1. Regularity

Perhaps you already know this, but regularity is probably the most important thing. You’ll need to stick to a sleep schedule. Go to bed at the same time, and wake up at the same time each day, and yes, that includes weekends too!

Most of us set an alarm to get up in the morning, but when was the last time you set one…


Breaking Down The True Cost of Compound Interest, and Coffee…

Photo by Sharon McCutcheon on Unsplash

So let’s break it down. The average cost of a cup of coffee in North America is estimated at roughly $3. Assuming you purchase a single cup of coffee a day over a period of 50 years (disregarding inflation), you would have spent approximately $54,750. Doesn’t sound too bad, does it? But now, let’s compare that with the opportunity cost of investing that $3 (or $21 weekly) over a period of 50 years at the average market return. Crunch the numbers this time and the difference is a whopping $1.5 million dollars!


Tools and Insights to Aid Against Procrastination

Source: www.raywenderlich.com

Congratulations, you’re likely coming across this article as a victim of procrastination. You’re likely reading this as a form of putting off other tasks on your agenda. While we’re already here, let’s be productive and explore the root nature of procrastination and the tools for combating it. We’ve all been there.

An over-obsessive attitude towards achieving your goals is a form of self-respect.

The Cost of Procrastination

Non-procrastinators do not exist! What does exist, however, are individuals that procrastinate less. Procrastination can never serve you, procrastination can never work for you; it can only work against you.

Amin Safarini

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store