Handbook Glossary
factorcode.org
weighted-cosine-similarity ( w a b -- n )


Vocabulary
math.similarity

Inputs
wan object
aan object
ban object


Outputs
nan object


Definition
USING: kernel math math.similarity.private ;

IN: math.similarity

: weighted-cosine-similarity ( w a b -- n )
[ weighted-vdot ] [ overd [ weighted-norm ] 2bi@ * ] 3bi / ;