Coder Social home page Coder Social logo

embedding's Introduction

Embedding

This Project is contributed by Xiao Han in Tsinghua University.

Datasets

Supported Papers

Citation

Conventionally, if this project helps you, please cite our paper, corresponddingly.

  • Han Xiao, Minlie Huang, Xiaoyan Zhu. From One Point to A Manifold: Orbit Models for Knowledge Graph Embedding. The 25th International Joint Conference on Artificial Intelligence (IJCAI'16).
  • Han Xiao, Minlie Huang, Xiaoyan Zhu. TransG: A Generative Mixture Model for Knowledge Graph Embedding. The 54th Annual Meeting of the Association for Computational Linguistics (ACL'2016).
  • Han Xiao, Minlie Huang, Lian Meng, Xiaoyan Zhu. SSP: Semantic Space Projection for Knowledge Graph Embedding with Text Descriptions. The Thirty-First AAAI Conference on Artificial Intelligence (AAAI'17).

Dependency

  • Armadillo
    • Armadillo is a high quality linear algebra library (matrix maths) for the C++ language, aiming towards a good balance between speed and ease of use
    • I bet you could master it, just by scanning the examples.
    • Download URL: http://arma.sourceforge.net/download.html
    • What all you should do is to copy the headers into your environment.
  • Boost
    • C++ Standard Extensive Library.
    • Download URL:http://www.boost.org/users/download/
    • What all you should do is to copy the headers into your environment. Certainly, you could compile the code just as explained in the website.
  • MKL
    • Not Necessary, but I strongly suggest you could take advantage of your devices.

Basic Configuration

  • Windows

    • This project is naturally built on Visual Studio 2013 with Intel C++ Compiler 2016. If we share the same development perference, I guess you could start your work, right now.
    • When you decide to compile it with MSC, there is a little trouble, because you shoud adjust your configuration.
  • Linux / MAC

    • I also apply the Intel C++ Compiler, which could be substituted by GCC, theoretically.
    • icc -std=c++11 -O3 -xHost -qopenmp -m32 Embedding.cpp

Start

  • To justify your data source, please modify the MultiChannelEmbedding\DetailedConfig.hpp.

  • To explore the correspondding method, just fill the template in MultiChannelEmbedding\Embedding.cpp with hyper-parameters.

    • model = new MFactorE(FB15K, LinkPredictionTail, report_path, 10, 0.01, 0.1, 0.01, 10);
    • model->run(500);
    • model->test();
    • delete model;

Alias

  • OrbitE = ManifoldE
  • MFactorE = KSR

embedding's People

Contributors

bookmanhan 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.