Learn R Programming

creditmodel (version 1.3.1)

cos_sim: cos_sim

Description

This function is not intended to be used by end user.

Usage

cos_sim(x, y, cos_margin = 1)

Arguments

x

A list of numbers

y

A list of numbers

cos_margin

Margin of matrix, 1 for rows and 2 for cols, Default is 1.

Value

A number of cosin similarity