Finding Compatibility Between You and Me Using Mathematical Approach Cosine Similarity
/
WTF is this?
This app implemented according to this article https://medium.com/@robyfirnandoyusuf/mencari-kecocokan-antara-aku-dan-dia-menggunakan-metode-matematika-cosine-similarity-44086054fac
What is Compatibility?
According to the Dictionary from Cambridge, compatibility means the fact of being able to exist, live, or work successfully with something or someone else.
Attributes to Be Used
If the similarity between two documents can be determined by having the same number of words, then to find compatibility between two people, we can use attributes such as hobbies, personality traits, favorite foods and drinks, movie genres, films, and music.
Cosine Similarity
Cosine similarity is a measure of similarity between two vectors in a dimensional space, obtained from the cosine value of the angle between the two vectors being compared. The function of cosine similarity is to determine the degree of similarity between two compared objects.
Why Use Cosine Similarity?
Because the cosine value of 0° is 1, and less than 1 for any other angle, the similarity value between two vectors is considered high when the cosine similarity value is close to 1.