Method | Description | |
---|---|---|
getSimilarity ( array $xVector, array $yVector ) |
Method | Description | |
---|---|---|
getDotProduct ( array $xVector, array $yVector ) | ||
getNorm ( array $vector ) |
public getSimilarity ( array $xVector, array $yVector ) | ||
$xVector | array | |
$yVector | array |