Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

距離や類似度の関数

距離や類似度の関数

量的変数

特徴ベクトルの要素が実数値の場合xi,xjRK\mathbf{x}_i, \mathbf{x}_j \in \mathbb{R}^Kの距離dijd_{ij}

なお、類似度sijs_{ij}dij=1sijd_{ij} = 1 - s_{ij}と変換すれば距離になる

カテゴリカル変数

特徴ベクトルが有限の値のどれかを取るカテゴリ値