Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mnick/holographic-embeddings

Code for experiments in the AAAI 2016 paper "Holographic Embeddings of Knowledge Graphs"
https://github.com/mnick/holographic-embeddings

Last synced: about 2 months ago
JSON representation

Code for experiments in the AAAI 2016 paper "Holographic Embeddings of Knowledge Graphs"

Awesome Lists containing this project

README

        

# Holographic Embeddings of Knowledge Graphs

This repository holds the code for experiments in the paper

```
Holographic Embeddings of Knowledge Graphs
Maximilian Nickel, Lorenzo Rosasco, Tomaso Poggio, AAAI 2016.
```

## Install

To run the experiments, first install [scikit-kge](https://github.com/mnick/scikit-kge),
An open-source python library to compute various knowledge graph embeddings including

- Holographic Embeddings (HolE)
- RESCAL
- TransE
- TransR
- ER-MLP

After `scikit-kge` is installed, simply clone this repository via

```
git clone [email protected]:mnick/holographic-embeddings.git
```

and run the experiments as detailed in the next section

## Experiments

The repository holds scripts of the form

```
run__.sh
```

which runs the experiments for `dataset` with the best parameters for `model`.

The full code for the experiments can be found in the `kg` and `countries` subfolders. The python scripts in these subfolders should be easy to use for grid search.