Skip to content

The code to calculate similarity of different dataset

Notifications You must be signed in to change notification settings

jkooy/class-similarity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Class-similarity

This repo offers the code to calculate similarity of different dataset based on dataset labels using cosine similarity and GloVe embedding.

cosine_similarity.py provides the function to calculate the cosine similarity between two GloVe vector.

embedding.py converts labels of dataset to GloVe vectors.

get_avelabel.py gets labels from label json files.

label_similarity.py is the main function to calculate the similarity given the label files.

Releases

No releases published

Packages

No packages published

Languages