Skip to main content

SG-t-SNE-Π wrapper for Python

Project description

SG-t-SNE-Π wrapper for Python

This repository aims to provide a Python interface to SG-t-SNE-Π, which is a high-performance software for swift embedding of a large, sparse graph into a d-dimensional space (d=1,2,3) on a shared-memory computer.

:warning: Warning! This repository is still a work in progress and is not ready for general use.

Installation

Prerequisites

SG-t-SNE-Π uses the following open-source software:

Before installing the module you must install the software dependencies with your package manager of choice.

On Ubuntu:

sudo apt-get install libtbb-dev libflann-dev libmetis-dev libfftw3-dev liblz4-dev doxygen

On macOS:

brew install flann tbb metis fftw lz4 doxygen

Installing the Module

As of this point in the development it is recommended to work inside of a Python virtual environment

To install the package run

pip install git+https://github.com/alex-unofficial/sgtsnepi-python.git

Then in your Python code run the following to import the library:

import sgtsnepi

# [ ... ]

sgtsnepi.sgtsnepi(sparse_matrix, args)

Or to import the sgtsnepi function directly:

from sgtsnepi import sgtsnepi

# [ ... ]

sgtsnepi(sparse_matrix, args)

Running the Demo

To use the demo you should install matplotlib by running

pip install matplotlib

Then from the source directory run

python tests/demo.py mm_file.mtx ndim

where mm_file.mtx is a file containing the input matrix which is in the Matrix Market file format, and ndim is the number of embedding dimensions.

Citation

If you use this software, pleace cite the following paper:

@inproceedings{pitsianis2019sgtsnepi,
    author = {Pitsianis, Nikos and Iliopoulos, Alexandros-Stavros and Floros, Dimitris and Sun,        Xiaobai},
    doi = {10.1109/HPEC.2019.8916505},
    booktitle = {IEEE High Performance Extreme Computing Conference},
    month = {11},
    title = {{Spaceland Embedding of Sparse Stochastic Graphs}},
    year = {2019}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

sgtsnepi-0.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

sgtsnepi-0.4-cp313-cp313-macosx_14_0_arm64.whl (841.8 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

sgtsnepi-0.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

sgtsnepi-0.4-cp312-cp312-macosx_14_0_arm64.whl (841.7 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

sgtsnepi-0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

sgtsnepi-0.4-cp311-cp311-macosx_14_0_arm64.whl (842.5 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

sgtsnepi-0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

sgtsnepi-0.4-cp310-cp310-macosx_14_0_arm64.whl (841.3 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

sgtsnepi-0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

sgtsnepi-0.4-cp39-cp39-macosx_14_0_arm64.whl (841.4 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

File details

Details for the file sgtsnepi-0.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a57be519a73ccfa20f808a4702c7ddd3cac42d6e032596b5e0ffd6967c0314a1
MD5 a69fdbfff5e2c6daabb2aa521e58de19
BLAKE2b-256 eccaea4b6f288eea5d697912f042efcde53e8496f4aa3903c138dd6e63c84183

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.4-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9c8f30608a63ca1bd3b44635c1ea5a3de418ea61ffdb4dbc430438c97c69fed8
MD5 ab616e5a02109460505429f853f3a810
BLAKE2b-256 f995bd891eaee29f470407b3f99193b9260b0ca9bb432c75b6e49645ed022969

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4-cp313-cp313-macosx_14_0_arm64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a7f8279d6f7f9027a8627cd2a838f5543c233c20bfc3dc119eb3ac0f060716d9
MD5 b99ffe6ebb6e5b03ba78d2ccb2cd8953
BLAKE2b-256 48d822ec43301732bdfc3aec5974e8c78a1d42800f777340b7651c1b4b183033

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.4-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2eb47a7097b7e21512c23c58d3f2adfe6993ce77fad8bcea70bdb988256c317e
MD5 f1820fa2cbda66f89cf057b221644888
BLAKE2b-256 fe7ea940269914f9e620a54e97029878245f3d55753ab96ffb69d65273caedd3

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4-cp312-cp312-macosx_14_0_arm64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5fb7fbee66f70621220cebbc448f064a22dc2dd1f9e3200143eff3129dad0391
MD5 f29f8747b83eb8b8f43f94f79c9ee9ca
BLAKE2b-256 2019c4b4cff2af9046180beb2051f9009f7201f1837afa199c0bb6b84ef44885

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.4-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9275c969dffc12712da1fb980f04675027b52e1759bf57fbe482228e07db2e75
MD5 4dbe51d388d39fbac43a9370f1f02699
BLAKE2b-256 06a8a9be73d7beffcc6eac40ea2443c0f37a580769401d1e5633cf472e662c09

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4-cp311-cp311-macosx_14_0_arm64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 739bdda37f34e723db7a599bc216290b6bd9f8558aea753b68f230411b66d5fd
MD5 30c9f79c556034e837cf5a5d003b4ba0
BLAKE2b-256 f486a7678d1d966ff0653a5855566edaf54fa95b88f1c4c2d47ecede334dacd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.4-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 70ec13d2825be255e14c199935b17faf20e3782984e60db3a78ca7d9b44adc59
MD5 dc930d351512d1e06ea91be92a6f2555
BLAKE2b-256 d344a9ea38a123e0e28ffeb9d4fb797f86034b74f7ba342a677eee3173ac7d48

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4-cp310-cp310-macosx_14_0_arm64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9a3b289e2448b91d5bd1dad0d94179de1f492a290fc98d1dc41ef19787145515
MD5 eb72f4e21ad9b9fd252caadf8861f40e
BLAKE2b-256 740008085fea01cf7dc3e219f034b823dee893621f4ad5103157e4e8219cc003

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sgtsnepi-0.4-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 cd824e8935c269ad1333859993ea432bf8d3926651a17599bc57e9c52192cbf7
MD5 c1fbba8feb7d71da81210c513424e7a9
BLAKE2b-256 51f11a54472c542ebb976625768724e2ee745ca4381cf8047c7c89b41ef83bd4

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4-cp39-cp39-macosx_14_0_arm64.whl:

Publisher: main.yml on alex-unofficial/sgtsnepi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page