Who I am and What Motivates me to Write

Image of Author

Hello! I’m Khuyen Tran. I have been writing on Medium since December 2019, but I haven’t properly introduced myself so I wrote this article to do so.

I major in statistics, but I love playing with data science and Python tools and share them with others in my free time…


If you tested positive with COVID, what is the chance that you actually have COVID?

Motivation

Imagine you come to the hospital to test whether you have COVID or not. You receive the bad news: you are tested positive for COVID! However, you think that there could be a chance that the result is wrong.

Image by Author

By doing some research on the internet, you know three pieces…


Getting Started

Ensure Your Data Works as Expected Using Python

Motivation

Let’s say your company is training a machine learning model to predict whether a user will click an ad or not using the data collected from users. In September 2021, the model you trained correctly predict whether a user clicked an ad 90% of the time. Hooray!

However, in October…


Build and Analyze Graph Database with Neo4j

Motivation

Have you ever been curious about the similarities between different companies? Wouldn’t it be nice if you can visualize their relationships like below?

Image by Author

That is when graph database and Neo4j come in handy. In my latest article, you will learn what Neo4j is and how to use it to analyze…


Getting Started

A Comprehensive Guide to SHAP and Shapley Values

Motivation

Imagine you are trying to train a machine learning model to predict whether an ad is clicked by a particular person. After receiving some information about a person, the model predicts that a person will not click on an ad.

Image by Author

But why does the model predict that? How much does…


Data Science

Package and Ship Your Notebook With Ease

Motivation

Have you ever wanted to collaborate with your teammates on a project using Jupyter Notebook? Google Colab allows you and others to edit and comment on the same project, but you cannot see their changes in real-time. To see others’ comments or changes, you need to refresh the page.

GIF by Author

This…


Create Maintainable and Modular Data Science Pipelines with Kedro

Motivation

Have you ever passed your data to a list of functions and classes without knowing for sure how the output is like?

Image by Author

You might try to save the data then check it in your Jupyter Notebook to make sure the output is as you expected. …


Hands-on Tutorials

Suggest Users Which Activities to Do When They’re Bored Using Python

Motivation

Have you ever been so bored that you searched on Google: “What to do when being bored?” Wouldn’t it be nice if you can create an app that suggests users a random activity for the day and books related to that activity using Python?

GIF by Author

You can play with the app…


Do Your Friends Have More Friends Than You, On Average?

Motivation

On average do your friends have more friends than you? If you are an average person, there is a high chance that you have fewer friends than your friends.

This is called the friendship paradox. This phenomenon states that most people have fewer friends than their friends have, on average.


How to Answer Difficult Questions with Knowledge Graph

Motivation

What do you often do when you want to learn more about a person? You might decide to read about a person using websites such as Wikipedia.

Image by Author

However, the text can be lengthy, and it might take you a while to get the pieces of information that you need.

Since…

Khuyen Tran

Data scientist. I share a little bit of goodness every day through daily data science tips: https://mathdatasimplified.com

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