Saturday, May 11, 2013

Similarity Score Algorithms

As per my previous post, I am working through Programming Collection Intelligence the first couple algorithms described in this book are regarding finding a similarity score, the methods they work through are Euclidean Distance and the Pearson Correlation Coefficient. The Manhattan distance score is also mentioned but some what I could find it seems that it is just the sum of the (absolute) differences of their coordinates, instead of Math.pow 2 used in Euclidean distance.

I worked through this and wrote/found some java equivalents for future use:

Euclidean Distance:

Pearson Correlation Coefficient:


  1. It is very nice that you share this with us.

  2. Great post just what I was looking for.


  3. This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.I like it and help me to article very well.Thank you for this brief explanation and very nice information.Well, got a good knowledge.


  4. Your post is very good. I got to learn a lot from your post. Thank you for sharing your article for us. it is amazing post
    what is seo
    types of seo

  5. TreasureBox is operated by a group of young, passionate, and ambitious people that are working diligently towards the same goal - make your every dollar count, as we believe you deserve something better.
    tv stand nz
    bike stand nz

  6. Thanks for sharing this, I actually appreciate you taking the time to share with everybody.
    Best Data Science Course In Hyderabad

  7. Thanks for Sharing a Very Informative Post & I read Your Article & I must say that is very helpful post for us.
    Online Data Science Classes
    Selenium Training in Pune
    AWS Online Classes
    Python Online Classes

  8. I truly like your style of blogging. I added it to my prefer red’s blog webpage list and will return soon…

    Data Science Training in Hyderabad

  9. Extremely overall quite fascinating post. I was searching for this sort of data and delighted in perusing this one. Continue posting. A debt of gratitude is in order for sharing. data analytics course in delhi

  10. I was basically inspecting through the web filtering for certain data and ran over your blog. I am flabbergasted by the data that you have on this blog. It shows how well you welcome this subject. Bookmarked this page, will return for extra. data science course in jaipur

  11. Cricut machine is an excellent cutting machine that can cut materials into attractive designs. Whether you want to create crafts for your home or sell them in a market, the Cricut machine is suitable for both purposes. visit pages cricut machines | cricut setup | cricut machines | cricut setup | cricut setup |


Popular Posts