Handbook
Glossary
pearson-similarity ( a b -- n )
Vocabulary
math
.
similarity
Inputs
a
an
object
b
an
object
Outputs
n
an
object
Definition
USING:
kernel
math
math.statistics
sequences
;
IN:
math.similarity
:
pearson-similarity
( a b -- n )
over
length
3
<
[
2drop
1.0
]
[
population-corr
0.5
*
0.5
+
]
if
;