k-最近傍法は教師あり学習で利用するアルゴリズムで、k-meansが教師なし学習で利用するアルゴリズムです。k-meansにも個々のデータを最寄りのクラスタ中心に割り当てるフェーズがあるため、k-最近傍法に近い処理も含まれていますが、両者は異なる手法です。
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme