在數據挖掘中,相似性度量是個基礎且重要的問題,我們經常想得知兩個個體之間存在的差異大小,藉由一個合適的度量方式,幫助我們執行分群、分類等任務。在眾多度量方式,最耳熟能詳的莫過於歐式距離、餘弦相似度,這篇文章將帶領讀者初探兩者的原理及應用場景。
歐式距離或稱歐幾里得距離,一種簡單直觀且有效的距離度量方式。回想初中計算座標(x1,y1)、(x2,y2)兩點之間的距離,便是…
These were the top 10 stories published by Carrot Cheng的數據分析 in 2020. You can also dive into monthly archives for 2020 by using the calendar at the top of this page.