MITS_AIBIRDS is a repository for SIMS (Similarity Score)Python package that provides easy-to-use functions for calculating various similarity scores, including Jaccard, Overlap, and Hamming Distance. These scores can be useful in a wide range of applications, such as text analysis, bioinformatics, and data science.
- Jaccard Coefficient: Measures the similarity between two sets by dividing the size of the intersection by the size of the union.
- Overlap Coefficient: Calculates the overlap between two sets by dividing the size of the intersection by the size of the smaller set.
- Hamming Distance: Measures the number of positions at which the corresponding elements are different between two strings of equal length.
You can install the package using pip:
pip install simscoreAfter installing the package
- import similarity_check.Similarity as variable_name
- Use this variable_name:
Create an object as obj=variable_name.Similarity() - Now, you can use this obj to implement anyone of the following functions:
jaccard_coefficient
hamming_distance
overlap_coefficient