Skip to main content

GraphEmbedding

Python Graph Embedding Libary for Knowledge graph

This project provides Tensorflow2.0 implementatinons of several different popular graph embeddings for knowledge graph.

Installation:

graphembedding will be released on pypi soon.

python setup.py install

Basic Usages:

It's simple. example code is below. The embedding object is returned as pd.Dataframe, so it can be used easily.

from graphembedding.playground import load_github
from graphembedding import complEx, transE

# Load Sample dataset 
github_dataset = load_github() 
triplets = github_dataset[['subject','relation','object']].values

# That's all. One line code.
node_embedding, edge_embedding = complEx(triplets) 

# if you wanna use transE,
# node_embedding, edge_embedding = transE(triplets) 

Metadata

Release files for graphembedding 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for graphembedding 0.1
File Interpreter ABI Platform
graphembedding-0.1-py3-none-any.whl Python 3 none any Details

Release files / graphembedding-0.1-py3-none-any.whl

Download URL graphembedding-0.1-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eccb93fdb93852b432a3b3942155916d2dbe76f5642db68c1d4f6f4e5f340d72
BLAKE2b-256 checksum
How to use checksums
930916cf3d40eba27badd506c2490034a1befd6bc0bb50c40b63847165eea58a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.4.2 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.8

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page