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

sgtsnepi currently only supports Linux and MacOS. Windows support will be available in the near-future.

Installation requires Python 3.9 or higher.

Installing the Module

To install the package run

pip install sgtsnepi

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

You can find some compressed MatrixMarket files in the data/ subdirectory.

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.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

sgtsnepi-0.4.3-cp313-cp313-macosx_15_0_arm64.whl (835.0 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

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

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

sgtsnepi-0.4.3-cp312-cp312-macosx_15_0_arm64.whl (834.9 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

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

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

sgtsnepi-0.4.3-cp311-cp311-macosx_15_0_arm64.whl (834.5 kB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

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

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

sgtsnepi-0.4.3-cp310-cp310-macosx_15_0_arm64.whl (833.2 kB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

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

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

sgtsnepi-0.4.3-cp39-cp39-macosx_15_0_arm64.whl (833.3 kB view details)

Uploaded CPython 3.9macOS 15.0+ ARM64

File details

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

File metadata

File hashes

Hashes for sgtsnepi-0.4.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 49aeeb3166e9143fb9840a53a07d8f1f2a48bcf0d455df2d70894b5c72e493d8
MD5 da970e3de3273f703e4782537c7351af
BLAKE2b-256 1ee365a6f97458bcfc315af35769c77d198a9378b26fbabaceb1fb1a63f148be

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_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.3-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4.3-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 64b76de0ed659e5f8458daa5d68a0cfeac2ad925433fa0b90e8a804d77ad6f03
MD5 7b724faff55b0ecff7377ca8625c49d8
BLAKE2b-256 059e658bee474a87340040ac9989186e1d9f2f639be7701bc4e91c44166fdaf8

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4.3-cp313-cp313-macosx_15_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.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 b08b488e487bbea93034eb75556c76646117120c0f45e9a9e2b742c91b742e22
MD5 096e0176d2eb1891d51ec1e5e2bb295c
BLAKE2b-256 2efa62c0f78683efc424cd65193cc6cfb02a562fcb0678964664358448afe370

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_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.3-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4.3-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 82d18218f5dcbc0c2ce337ac1679cb019af48396781d634f02ef0c5ef719b8b5
MD5 7c4d77cf440f60e413ad13033bd52fd7
BLAKE2b-256 7547dfe8095235143c3a83499088e7c43884cdf819ff7d5f37a7c044b5fc21d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4.3-cp312-cp312-macosx_15_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.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 da1eb843f515fa12240b5af62dd5ea3dc8d2fdea220966dd3d8ade29cbb48b50
MD5 9a94faf6d867dc25318719ec086951c6
BLAKE2b-256 52c34c1eb2c9bc6b91e95e8bbf1ae4ae3dbe9eec7d5b1c9617591a1745f71ace

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_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.3-cp311-cp311-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4.3-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 2664be169717774a6e8df07a089cadfc3d1241317abec014b846209a6890caa8
MD5 e51b7770f75eb9fee51dbfc9b3e5fe84
BLAKE2b-256 2a90f2a93dc4aa0b588aab36afa6f0555036183c21fbc07e5b807b16858ffd56

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4.3-cp311-cp311-macosx_15_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.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 1415c9ba31ed0c00c24f07c9c439b8d6fe8c308a3ca12728b60f5e39d30d3796
MD5 18a3cce0043d8df1fef761c4b8743531
BLAKE2b-256 e79b3cb2ce6625dc17e91c87652537fa75e1f0f572ba4546a0e904c04765c1de

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_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.3-cp310-cp310-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4.3-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 c0658cfdf203b8802c61914b7c9639d0302c2fa0ca7f9e6aa068ac8dcf9cc1e5
MD5 a7bf0bc2a959ee0e707582991ffc9945
BLAKE2b-256 57be7c44727a2109efaf6c806f51200bf1845afdd3ccf3a7371a18f13c9e5411

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4.3-cp310-cp310-macosx_15_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.3-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4.3-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 d0665951dfb3c079a8e3086eb091b4ace58a4dc0d445e0b4a234b14645adf9c7
MD5 e1fbe42ecca563fb6b3dfd96820a41eb
BLAKE2b-256 f489858183e153b7dad36be60c099de468fd21ad33edd0e29fa8e2c8e500bafc

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4.3-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_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.3-cp39-cp39-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4.3-cp39-cp39-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f982d29851b4f59f98cb83fa564659ecad6bd07e2120b1ef424d5699f9cde791
MD5 8cd501f6a29ea8d057c8653d345cf1b5
BLAKE2b-256 be856dc21f3ab63a87282359709f0300b42cf713a87bc03e4598847768c4f1e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4.3-cp39-cp39-macosx_15_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