This is just a demo data. I am using JAVA. So, I know how to fetch data from firebase but, what I want to know is how can I compare all the data of KEY i.e. user 1 with user 2 and user 3 and show it in percentage.
For example - If I compare user 1 data with user 2 data then it should show 50% similar or dissimilar. Similarly, for user1 and user3, it should show 0% similarity.
So, how can I compare and show the similar or dissimilar in percentage? Any Idea?
