RoboticsClubIITJ / ML-DL-implementation

An implementation of ML and DL algorithms from scratch in python using nothing but NumPy and Matplotlib.
BSD 3-Clause "New" or "Revised" License
47 stars 68 forks source link

Added more distance_metrics for vector space and also for boolean vector. #190

Open ShubhamMishra1611 opened 1 year ago

ShubhamMishra1611 commented 1 year ago

Distance metric reference has been taken from here

Added methods to evaluate sEuclidean and Mahalanobis distance and Jaccard,Matching,Dice,Kulsinki,Rogers Tanimoto,Russell Rao Distance,Sokal Michener,Sokal Sneath distance metrics for boolean vector space.

rohansingh9001 commented 1 year ago

Hi Shubham the code LGTM but can you add the following files to support this PR -

1) An example file and put it in the examples folder. Nothing much, just demonstrating the use of this metric. 2) Let me know which issue does it resolve? 3) Add the features you added in the README.md file so that it is up to date with all the features added with your PR.

ShubhamMishra1611 commented 1 year ago

Added example file along with code formatting and updated README.md file. The issue was #175