X
X
Xymis2017-11-30 01:09:16
Mathematics
Xymis, 2017-11-30 01:09:16

How to calculate affinity between arbitrary vectors?

Hello.
There is a task:

The program
should allow to calculate the affinity between arbitrary
vectors, the parameters of the vectors and their coordinates in m-dimensional
space are set from the keyboard.
Use the Euclidean distance, the Chebyshev distance
and the Hamming distance as the rules for calculating affinities

I can't seem to find an answer to the question of what should I do. Affinity, as I understand it, is an N-dimensional space. Functions that return distance values ​​made for any number of coordinates for vectors. The functions for obtaining distances were also written. What's next? I will be glad, both to your answer, and links to the useful information.
Thanks in advance

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question