Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 467 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 467 Bytes

Cosine-Similarity

Build Status

Installation

composer require algenza/cosine-similarity 

How to use?

use Algenza\Cosinesimilarity\Cosine;

$vectorA = [
'type' => 3,
'code' => 5,
'run' => 2
];

$vectorB = [
'type' => 3,
'code' => 5,
'run' => 2
];

$similarity = Cosine::similarity($vectorA, $vectorB);

Lisence

MIT