Machine learningMachine learning

วิธี k-Nearest Neighbors แบบเบย์ (Bayesian k-Nearest Neighbors)

Bayesian k-Nearest Neighbors (Bayesian KNN) เป็นการพัฒนาต่อยอดจากอัลกอริทึม KNN แบบดั้งเดิม โดยการกำหนดการแจกแจงความน่าจะเป็นก่อน (prior distribution) ให้กับขนาดของเพื่อนบ้าน k และรวมเอาหลักฐานความควรจะเป็น (likelihood evidence) จากเพื่อนบ้านเข้ากับ prior นั้น เพื่อให้ได้ความน่าจะเป็นของคลาสภายหลัง (posterior class probabilities) ที่ถูกปรับเทียบแล้ว วิธีการนี้ยังคงตรรกะพื้นฐานของการจำแนกประเภทตามข้อมูล (instance-based logic) ของ KNN ไว้ ขณะเดียวกันก็เพิ่มการวัดปริมาณความไม่แน่นอน (uncertainty quantification) ของการทำนายได้อย่างมีหลักการ

เปิดใน MethodMindเร็ว ๆ นี้วิดีโอเร็ว ๆ นี้Download slides

อ่านวิธีฉบับเต็ม

สำหรับสมาชิกเท่านั้น

เข้าสู่ระบบด้วยบัญชีฟรีเพื่ออ่านส่วนนี้

เข้าสู่ระบบ

Method map

The neighbourhood of related methods — select a node to explore.

วิธี k-Nearest Neighbors แบบเบย์ (Bayesian k-Nearest Neighbors)
การถดถอยโลจิสติกNaive BayesRandom Forest

แหล่งอ้างอิง

  1. Holmes, C. C., & Adams, N. M. (2002). A probabilistic nearest neighbour method for statistical pattern recognition. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 64(2), 295–306. DOI: 10.1111/1467-9868.00338
  2. K-nearest neighbors algorithm. Wikipedia. link

วิธีอ้างอิงหน้านี้

ScholarGate. (2026, June 3). Bayesian k-Nearest Neighbors Classifier. ScholarGate. https://scholargate.app/th/machine-learning/bayesian-k-nearest-neighbors

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

Compare side by side
ScholarGateBayesian k-nearest neighbors (Bayesian k-Nearest Neighbors Classifier). สืบค้นเมื่อ 2026-06-15 จาก https://scholargate.app/th/machine-learning/bayesian-k-nearest-neighbors · ชุดข้อมูล: https://doi.org/10.5281/zenodo.20539026