TJ Lin·Sep 29, 2024Why Unlimited Swiping Right Fails Men: A Data Scientist’s ViewOn most dating apps, swiping right on a profile means sending a match request, while swiping left skips the profile. Once both users swipe…
TJ Lin·Sep 22, 2024Reaching 2100+ in Leetcode Contests within Three MonthsThere seem to be many misunderstandings about Leetcode (or algorithm problems), such as the idea that you need to memorize all the Leetcode…
TJ Lin·Sep 17, 2024Five Years of Investment Experience and ChangesI spent a year learning before I finally opened an account and bought stocks. I initially invested in global market cap-weighted ETFs (VT +…
TJ Lin·May 18, 2020寫 online judge 時難以發覺的 bug有些 online judge (或者說大部分的 online judge) 不像 leetcode,程式有錯的話告訴你錯哪筆測資,記錄一下我找很久的各種 bug...... 語言為 C/C++,主要都是在 UVA judge 踩到的,不確定其他的 judge 行為是不是一樣。
TJ Lin·Oct 12, 2019Using MKL to boost Numpy performance on UbuntuNumpy is using BLAS (Basic Linear Algebra Subprograms) internally. Intel provide a better alternative called “Math Kernel Library” (MKL)A response icon5A response icon5
TJ Lin·Oct 12, 2019Ubuntu 使用 Intel MKL 加速 NumpyNumpy 底層用到了所謂的「BLAS」的線性代數 library,Intel 出了一個 Math Kernel Library (MKL) 來優化,因為是 Intel 出的,所以你的 CPU 也必須是 Intel 的,網路上有查到 Intel MKL 也可以跑在 AMD…
TJ Lin·Jun 4, 2019Pandas I/O BenchmarkingOn the official site of Pandas, it has a page for its I/O functions with simple profiling. But something I care about does not on that…
TJ Lin·Jun 4, 2019Pandas I/O 效率測試Pandas 在官網上有個頁面介紹各種 I/O function,也簡單測了時間,不過有些我在意的東西沒有測到,只好我自己來測一遍啦 (Github)。
TJ Lin·Mar 18, 2019美國券商 TD Ameritrade 2019 開戶心得受到綠角的啟發,決定開一個美國證券戶來買美國 ETF 。研究了一番以後決定開在 TD Ameritrade ,主要是考慮到它會自動退某些債券 ETF 一部份的稅。雖然 TD 的手續費較高,但省去研究美國稅法以及退稅的時間金錢成本還是很划算的。就在這裡紀錄開戶到匯款的過程。
TJ Lin·Mar 15, 2019What to do when AUC less than 0.5Someone asked this question on PTT DataScience board. He trained a rectal cancer detection model on MRI images with 5 fold cross…