⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hamming.distance.rd

📁 支持向量机完整版(SVM)可以用来进行设别训练
💻 RD
字号:
\name{hamming.distance}\alias{hamming.distance}\title{Hamming Distances of Vectors}\usage{ hamming.distance(x, y)}\arguments{\item{x}{a vector or matrix.}\item{y}{an optional vector.}}\description{ If both \code{x} and\code{y} are vectors, \code{hamming.distance} returns the Hammingdistance (number of different bytes) between this two vectors. If\code{x} is a matrix, the Hamming distances between the rows of \code{x}are computed and \code{y} is ignored.}\examples{x <- c(1, 0, 0)y <- c(1, 0, 1)hamming.distance(x, y)z <- rbind(x,y)rownames(z) <- c("Fred", "Tom")hamming.distance(z)}\keyword{multivariate}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -