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 package is still a work in progress.

Installation

Prerequisites

sgtsnepi supports Linux and macOS. Windows support is coming soon.

Installation requires Python 3.9 or higher.

Wheels are not built for all architectures as of now. If your architecture is not supported please open a relevant issue on the GitHub page.

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.5.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ x86-64

sgtsnepi-0.5.1-cp314-cp314t-macosx_15_0_arm64.whl (867.8 kB view details)

Uploaded CPython 3.14tmacOS 15.0+ ARM64

sgtsnepi-0.5.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

sgtsnepi-0.5.1-cp314-cp314-macosx_15_0_arm64.whl (864.1 kB view details)

Uploaded CPython 3.14macOS 15.0+ ARM64

sgtsnepi-0.5.1-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.5.1-cp313-cp313-macosx_15_0_arm64.whl (863.9 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

sgtsnepi-0.5.1-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.5.1-cp312-cp312-macosx_15_0_arm64.whl (863.8 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

sgtsnepi-0.5.1-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.5.1-cp311-cp311-macosx_15_0_arm64.whl (863.3 kB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

sgtsnepi-0.5.1-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.5.1-cp310-cp310-macosx_15_0_arm64.whl (862.0 kB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

sgtsnepi-0.5.1-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.5.1-cp39-cp39-macosx_15_0_arm64.whl (862.1 kB view details)

Uploaded CPython 3.9macOS 15.0+ ARM64

File details

Details for the file sgtsnepi-0.5.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.5.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 461b7a1f49d4c995a65898081d7804c653b9e54a438887c1d8d9abdacd85c779
MD5 faef6098be7e5f40cd5ac0406916aa5b
BLAKE2b-256 3a7d837940535c6db6e1d2f9fe2827c065bd243653d8db80a1f19f2e419439e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.5.1-cp314-cp314t-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.5.1-cp314-cp314t-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.5.1-cp314-cp314t-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 926c90c13657b849a74663b7e8278ab5f1bcb85fcfcfe222e4c25bc01379789f
MD5 eed7f4909bf58fdd8496692a66fee02f
BLAKE2b-256 eb92edaa36a8a5b5715588b80677301e40cd67fe9c0a0a17bd680a12ac6ed61e

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.5.1-cp314-cp314t-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.5.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.5.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 66ad74501f7d75f5e6cafa8bf04a7c278ccfa96856ccf670256fcd4b8f6ba9b5
MD5 363f3bdbbdfc3a1ca202588042d63d2d
BLAKE2b-256 384ecd02cb6cac61456143955771650e28dd34d0953af34fe6a29cc9f1fa366e

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.5.1-cp314-cp314-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.5.1-cp314-cp314-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.5.1-cp314-cp314-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e49b077e3271d08124b9c4550ba6332aee7a670785c4bffcd22395582114135f
MD5 c1ff3ad2f68f5488d01bb48aa5efb03e
BLAKE2b-256 0ac3a771c3feae30a1d5e93cbb11695ba5f4c937405ad8c624b698c09faa53d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.5.1-cp314-cp314-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.5.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.5.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 785a8433c131d3e26f14c6b6d7edc4c0821f02bcba3522ad687b58bb524b295d
MD5 b62febd9b26503644d42e9a803f0be2b
BLAKE2b-256 086287c4f63a2c17cb59f43fb0199e6c570636834ebdd143e3b3ea25e00cd7de

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.5.1-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.5.1-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.5.1-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 cae2f405ccd26c31b0d6efc16be4fe2017c2fa27e9dde570bc882b29583e4937
MD5 d0c7e554e912ca7dcbd43b6874721748
BLAKE2b-256 032baa1672aa398821fa6e7a819ec8b969c10eb6e5fae559a3d42e57ee43e729

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.5.1-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.5.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.5.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 3b253144a902602d585e0d2b84ef7354dc253be800270d0d3905662b8a66f8bb
MD5 585dde0824123ca071741d644ce3d50f
BLAKE2b-256 1df21a5e8bf18497a3df036561d75bd161d584f05c83aac26772ec0f117b0a3e

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.5.1-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.5.1-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.5.1-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ed29ff32eec8f375630f99a677a0489c868d518f3de61cd1102a0b9898d42ebc
MD5 9648726fdea05dd0344f27abd6ea9af8
BLAKE2b-256 5d98ada552ededb948830305edd2c223cbe424a16a026fbc66514a913efbbdcf

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.5.1-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.5.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.5.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 dde869f3e0700156a23fed7b3630fb467dd585ddc92d16b540c9c6ca19510deb
MD5 3fdaa8438e4b22c0425b7ae8895638cf
BLAKE2b-256 9fcaee5cae723075cd03915feacef788078df5a878b5e4aa2cf3e70942fdea41

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.5.1-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.5.1-cp311-cp311-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.5.1-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 29bfc432dd715aac1a8dbcc23f1fe239f44ba4df60da9e0901340b792cc839b9
MD5 8d6b0f3189e04ddf96684ac0b6fe0d68
BLAKE2b-256 98382c56575ed362bcfc8d90a7df2d64ffbafd25903227799f8ffdf6d02309d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.5.1-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.5.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.5.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 dd8cb5b6359752c409af0feb47765a059389bc3bf61ab5f2421ed27efb3508d8
MD5 4d91e7dea8a391a2d45e09119af343dc
BLAKE2b-256 6f6445bd842ecf47094667a83a1c1be995f1c545f6fdc9bddcfee506c696717e

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.5.1-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.5.1-cp310-cp310-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.5.1-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ba2a381c4c47ae73a255768da09c36145c0b9ae53ae47ae61465d154f281ba88
MD5 b308b929687af968f7a2ca277657e291
BLAKE2b-256 adca61c88b55b3956689fc1e23be1ad8a4c78da775a539eb0e1d17c6d0c273b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.5.1-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.5.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.5.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 3b1984d7587354bc457f3ab433b2819a71982b025d567e51b5f2cf4611bf8056
MD5 d7e7b0a87b73e2a38eaaf47366f89468
BLAKE2b-256 85d939988d656c1b565fe4b586e07a6093a3e4f48c053600c05f51af102c622e

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.5.1-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.5.1-cp39-cp39-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.5.1-cp39-cp39-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 25ee695ed19dd9fe8a26395d973cd27a0fced9e3624d840e69b3908326369d5c
MD5 c16e6f3a29a90bdab15fbbd3e01bc4e7
BLAKE2b-256 456940ce944e096dc30a0ba9014a3e40efac72272430119321f853809d70c9e8

See more details on using hashes here.

Provenance

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