vector_normalize: input: An array of dimensions c(n, d) output: An array of...

Description Usage

View source: R/support-vector_math.R

Description

input: An array of dimensions c(n, d) output: An array of dimension c(n, d) where if the i'th row of the input is (x1,x2, ..., xd) then the i'th of the output is (x1/norm, x2/norm, ..., xd/norm) where norm = sqrt(x1^2 + x2^2 + ... + xd^2)

Usage

1

momeara/RosettaFeatures documentation built on May 22, 2017, 12:04 p.m.