CosineSimilarity
in package
implements
AlgorithmInterface
Table of Contents
Interfaces
Properties
Methods
- __construct() : mixed
- calculate() : mixed
Properties
$a read-only
private
array<string|int, mixed>
$a
$b read-only
private
array<string|int, mixed>
$b
Methods
__construct()
public
__construct(array<string|int, mixed> $a, array<string|int, mixed> $b) : mixed
Parameters
- $a : array<string|int, mixed>
- $b : array<string|int, mixed>
calculate()
public
calculate() : mixed