Having a mental map or processes will steer us to a direction to explore and find the right path to reach our goal. When I start on this license plate detection project, that’s what I did. I thought to myself, if I was handed an image, how did I locate the license plate and extract the text?

Here are my general mental steps:

  1. Recognize the input data is an image.
  2. Scan through the image to see all the different shapes, defined by its edges.
  3. Given the license plate is a rectangular shape, out all the different shapes from the previous…


Learning a new tool is never a bad idea. Having background with other tools will certainly give some ease in learning a new tool. For learning a new programming language, this is the same concept.

Learning Scala with background in Python made my learning curve easier. Although they are similar in some ways, I need to remember their differences and adapt to it. Here are some tips and thoughts I found useful in building muscle memory for Scala.

Scala & Python

Var vs. Val

When we assign a variable to some value, we need to use ‘var’ or ‘val’. Which is which?.

Var…


Natural Language Processing (NLP) is one of the very important concept for Machine Learning as it combines artificial intelligences, linguistics and computer science into one. It learns and recognizes the behavior of the input and uses it to make suggestions or recommendations. Autocorrect, spellcheck and autocomplete are a few examples of NLP we use everyday.

Today, we will use NLP in action to differentiate posts between E46 or E90s in reddit by using Logistic Regression in Python.

E46 and E90s

Data

In each subreddit of E46 and E90, 2000 of the most recent posts were pulled via Pushshift’s API. …


After I watched Titanic for the first time in 1998 as a 9 year old boy, I immediately felt in love with the movie. I went on watch countless time with the VHS and DVD I owned and in the theatre whenever it was remastered.

To this day, Titanic is still my favorite movie of all times! Thank you James Cameron, Leonardo DiCaprio and Kate Winslet!

figure 1. Titanic Movie

Enough of the movie, lets get into data!

Fact: Today, April 14, 2020, marks 108 years of Titanic’s tragic night in middle of the Atlantic.


Since 2001, the national average participation rate has been dominated by ACT. In recent years, there has been some changes.

From 2017 to 2018, data have shown a shift and an increased of participation from ACT to SAT, as seem below in Figure 1 and Figure 2.

Figure 1. ’17 and ’18 SAT

Richard Ling

Mechanical Engineer. In process of adding data science.

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