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.1-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.1-cp313-cp313-macosx_14_0_arm64.whl (841.6 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

sgtsnepi-0.4.1-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.1-cp312-cp312-macosx_14_0_arm64.whl (841.5 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

sgtsnepi-0.4.1-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.1-cp311-cp311-macosx_14_0_arm64.whl (842.3 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

sgtsnepi-0.4.1-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.1-cp310-cp310-macosx_14_0_arm64.whl (841.1 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

sgtsnepi-0.4.1-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.1-cp39-cp39-macosx_14_0_arm64.whl (841.2 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

File details

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

File metadata

File hashes

Hashes for sgtsnepi-0.4.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 88690af5f983c3cf7e6082e852007dabc69eb1b2c1bb1f456f3c6095ab8ba9f2
MD5 d3eb9c87aa1cdb1ed6c88105a7a7ee63
BLAKE2b-256 5b4ec9238fc8fbbcf400d685248e8b0477e714544ac4ef17709e07ff16eaf992

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4.1-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.1-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4.1-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 244ea670a5f8e014cc4fd37db8e0b067f09beb98272bd0f1166a52a48ae3e836
MD5 e396d25e9489f878a20e50d298a56ddf
BLAKE2b-256 5c8c70a818afd767efa49044af3a02cac33d2bde900a027b46e8f422dccd63e4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sgtsnepi-0.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eab0a46c480c6f77bf843204a02cbf99165b986439b47f6b906f521517e216a4
MD5 00d1a8a8044701e9437d6d58a1ca524c
BLAKE2b-256 618da10f50fae691ee124d12556e0f13a9f8a1ec8f51319120e2778e54b54e95

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4.1-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.1-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4.1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8d9e27ed71d6a80e17ccb159ca0f671ee4577a09972ca6879318fca42f883ebd
MD5 8939c483aca59f5813b6bce74d985cc9
BLAKE2b-256 4d01ecf42b30cfdb8e841b4066a5940dee880af14bbddc7d958093dec827b22b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sgtsnepi-0.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e314f1b235ed51c28daa4bc1e54f320cc1040bf797bafcab098b620772626c47
MD5 5d71a19e780161a97cdc1154b5d20d74
BLAKE2b-256 12aaf65faab30e76f80273f55b2898dc99ec5c39ad58cf9aee9149399fa1b970

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4.1-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.1-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4.1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d674c794b321f0528c175c245c71fa3fb2c1213bb3599093d8e2689f9248cbf5
MD5 46887da8c9d7d8816753af2ce91d7ad1
BLAKE2b-256 d1d5782dd7d2ac4e78f88a8c5d9e8fe264a961ec908f6cd2d2fb2231aee07a2e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sgtsnepi-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 209c3c19570d6a1f82bf430e51476f1731ff81ac0edadaaa54453e2b2cba5ec8
MD5 475b6b122266897f6bd1205db6771f9f
BLAKE2b-256 e13cf70ee80ab8fc784e4695bf442c06ced308697eb3af1ed218dc95d182791d

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4.1-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.1-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4.1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fe65b8ea88af7152ff1f9c7e4ecd00d70de8e274c411b6efb3dc1ab5a6173f67
MD5 723cc0eb61410ad72a8809a5a38489e6
BLAKE2b-256 f9302c7fa95a7668fd3c2f9ee2e3fc2fc3593d707cf9d6b6d084c61b9e901c73

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sgtsnepi-0.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 94544f2769fb009887a7dfb89686a8e19aa85ea7f837403dbdbc57afcd0ec5a8
MD5 9780f5cd5827e14dca32cc18eb645d8e
BLAKE2b-256 e99b3d6efef2e744e3541d71c28d145b77fda611ccfbf5159c4b74faa63bed13

See more details on using hashes here.

Provenance

The following attestation bundles were made for sgtsnepi-0.4.1-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.1-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4.1-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0dd1cb554b08d77fb3ee6215c598c07adda77555cb49cdab81f99cf9d28454ad
MD5 1c89ba4a7eb215b61218b2a1629f53a1
BLAKE2b-256 59a322a7487208155ca633cfccb9d1e95a69a4f647bb67bd4723240a9134353a

See more details on using hashes here.

Provenance

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