Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dotmat

Dot product similarity between a vector and matrix


Description

Computes the dot product between a vector and a given matrix. The vector returned has a dot product similarity value for each row in the matrix.

Usage

dotmat(a, b, norm = TRUE)

Arguments

a

numeric vector

b

numeric matrix

norm

logical, compute normalised dot product, default=True

Value

numeric vector containing dot product scores


superml

Build Machine Learning Models Like Using Python's Scikit-Learn Library in R

v0.5.3
GPL-3 | file LICENSE
Authors
Manish Saraswat [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.