4-Minute Read

644 words

On most dating apps, swiping right on a profile means sending a match request, while swiping left skips the profile. Once both users swipe right, they can start messaging each other. There’s a common belief that since most heterosexual dating apps have more men than women, the best strategy for men is to swipe right on every profile and see who matches. However, as a data scientist, I’d like to explain why this might not be the most effective approach.

4-Minute Read

776 words

Five years ago, I started regularly using part of my salary to buy stocks. At the time, I had researched extensively online, reading a lot of content — probably over a thousand articles. It still took me some time to build up the confidence to actually invest. I spent a year learning before I finally opened an account and bought stocks. I initially invested in global market cap-weighted ETFs (VT + VGIT) with an 80/20 stock-bond allocation. I’m grateful I had a good start, but five years later,…

5-Minute Read

1044 words

The title uses “building” instead of “writing” because some experiences take time to prepare. For example, taking a course takes at least half a year, and longer if there are prerequisites. Competing in a Kaggle machine learning competition can take three to six months, and it’s not always possible to achieve results that are good enough to put on your resume. Deliberately building your resume in advance will give you the best chance of getting interviews when…

3-Minute Read

485 words

The models nowadays are becoming larger, especially language models. Search engines need to provide real-time results, and models on mobile devices have limited memory and computational power, requiring model lightweighting. ONNX, developed by Microsoft, is a cross-platform machine learning framework that can convert models from various frameworks (such as PyTorch, TensorFlow, etc.) into the ONNX format and perform lightweighting. This article takes a PyTorch model as an example, using ONNX to…

4-Minute Read

697 words

I recently finished reading the Elon Musk biography written by Walter Isaacson. Each chapter is a short story that allows us to understand Musk’s personality and how he accomplished all of his achievements: the commercialization of electric vehicles, world-leading self-driving technology, reusable rockets, satellite communications, and more. These are daunting feats, yet he made them happen. Musk is not a perfect person, nor does he need to be. We can try to learn from his working methods…

4-Minute Read

716 words

Recently, FIRE (Financial Independence and Retire Early) has become quite popular. People probably don’t like going to work. The source of income for not working is the 4% Rule, but this is actually a simplified result with dnagers.

4-Minute Read

676 words

Many economic studies discuss the relationship between income and happiness. This is not a formal economics blog, so I will not introduce them. Therefore, the research part will not be too detailed or accurate. I mainly want to talk about my own thoughts. For details of the studies, please see my references.

Recent Posts

Categories

Tags