Code Monkey home page Code Monkey logo

wd-similarity's Introduction

Similarity Project

Overall, in this project, we first consider multiple types of embeddings such as ComplEx, Transe, Abstract, Lexicalized embeddings and so on. Then, we use different sets of basis datasets for retrofitting these embeddings (bringing the neighbouring nodes closer to each other). We then evaluate the original and retrofitted embeddings on various evaluation benchmark datasets.

All the server files are uploaded on Google Drive here

Final GDrive Datasets and Results

Most of the results mentioned in the paper are derived from csv sheets generated from the Retrofitting notebook. The final versions of these results sheets can be found on Google Drive here

Other files used can be found here:

In this notebook, we generate embeddings using ComplEx, Transe, lexicalized properties, abstract, H, A, S, labels only, labels + descriptions, and concatenated embeddings. In this notebook, we also generate direct similarity scores for pairs of nodes in evaluation benchmark datasets based on class, JC, topSim for direct evaluation in the Retrofitting notebook.

In the basis notebook, we generate the basis datasets using 2 relations - parent-child and siblings which we will later use in the Retrofitting notebook. In the probase notebook, we generate another such basis dataset.

In this notebook, we generate the evaluation benchmark datasets on which we evaluate our embeddings performance based on similarity both before and after retrofitting wherever applicable. We generate benchmarks for Wordsim353 (Annotated), DBPedia sourced datasets (MC 30, RG 65), ConceptNet, Wiki-CS but go on to using Wordsim and DBPedia ones only in the Retrofitting notebook. In the ConcepNet Evaluation Dataset Exploration notebook, we just explore the ConceptNet dataset downloaded but the main file generation for our evaluation purpose is done in the main Evaluation Datasets notebook.

This is the main framework code where all the retrofitting, evaluation is done and results are captured.

Datasets Used:

Project Draw.IO files stored on Google Drive here

wd-similarity's People

Contributors

kartik2112 avatar filievski avatar

Stargazers

Lakshan Karunathilake avatar Tyler avatar

Watchers

Jay avatar James Cloos avatar Pedro Szekely avatar Craig Knoblock avatar Daniel Garijo avatar Yao-Yi Chiang avatar Craig Milo Rogers avatar  avatar Amandeep Singh avatar Erdong Hu avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.