Giter VIP home page Giter VIP logo

aae_for_kg's Introduction

AAE_FOR_KG

Using Autoencoders for Knowledge Graph Embedding

Introduction

This is the Pytorch implementaion of some knowledge graph embedding models based on adversarial autoencoders. And we have test these models with drug-drug interaction datasets.

Dependencies

This project uses Python 3.5.3, with the following lib dependencies:

  • Pytorch 1.3
  • Numpy 1.15.1
  • Sklearn 0.21

Usage

  1. If you need to test your own dataset, please put it in ./dataset directory and format it according to our template.
  2. Then you can run commend as follows to train/test/valid the models. For example, this command train a RotatE model on Deepddi dataset.

python3 -u main_rotate.py -ne 1000 -D_lr 0.5 -G_lr 0.001 -reg 0.3 -dataset Deepddi -emb_dim 200 -neg_ratio 1 -batch_size 512 -save_each 100 -discriminator_range 1

aae_for_kg's People

Contributors

dyf0631 avatar

Stargazers

 avatar  avatar  avatar  avatar sunflower18 avatar  avatar sssjjjaaa avatar

Watchers

James Cloos avatar  avatar

aae_for_kg's Issues

DDI预测

您好,用来做DDI预测的测试集是Decagon_cla.txt吗,我复现了这个数据,结果很差。

Preprocessing

Thanks for sharing your code. I would like to know how did you preprocess raw Decagon data and some explanation about the data provided in the Decagon data folder.

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.