NDArraySimilarity.h
Go to the documentation of this file.
1#pragma once
2
4
6{
7 // calculates the similarity of two NDArray instances based on their cosine distance
8 // and normalizes it to a value between 0.0f and 1.0f
9 float calculateSimilarity(const aron::data::NDArray& oldValue, const aron::data::NDArray& newValue);
10}
11
float calculateSimilarity(const aron::data::NDArray &oldValue, const aron::data::NDArray &newValue)