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.4-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.4.4-cp314-cp314-macosx_15_0_arm64.whl (835.3 kB view details)

Uploaded CPython 3.14macOS 15.0+ ARM64

sgtsnepi-0.4.4-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.4-cp313-cp313-macosx_15_0_arm64.whl (835.1 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

sgtsnepi-0.4.4-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.4-cp312-cp312-macosx_15_0_arm64.whl (835.0 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

sgtsnepi-0.4.4-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.4-cp311-cp311-macosx_15_0_arm64.whl (834.5 kB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

sgtsnepi-0.4.4-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.4-cp310-cp310-macosx_15_0_arm64.whl (833.2 kB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

sgtsnepi-0.4.4-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.4-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.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for sgtsnepi-0.4.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 cd6e7399e870d44f1b806d75c3fef3d106f7d42b97df8a03b01d2721b2fab849
MD5 ff93b3219cd945a85a635af5033a7b2d
BLAKE2b-256 a84fb6ef55ebbf041d0adfd71a2b0cfe54aff98a2976113fe742212ff7530020

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sgtsnepi-0.4.4-cp314-cp314-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 36c8c3cf9e72c545ff7cbd07a7994ef02d1db374b4038c9e4f1a5168bc2996f2
MD5 bb9ef9b0f159b779350451f3e53a0653
BLAKE2b-256 d636297eda5b7768f61104ac551c7fed64ecf9d64afa70838727ccc2a2321aa9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sgtsnepi-0.4.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 cd97bb799a0ee2382706820c79c919f9cb4b02bfc4da7150c81a0d94134f9ce6
MD5 6933532012dd7d5a44e63bdc1f1e009c
BLAKE2b-256 df31b6c08c78830c8c6941b84dbbd6959d934a4e91a763041834254e69ac351e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sgtsnepi-0.4.4-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 52aed9523b2774be90fa6aae52cee0d516056c96c2a8a9e490e5c77abf9a290b
MD5 e61365077b97fd5cea7d7845ee0ac9d7
BLAKE2b-256 3d8482388a5b0572184f9826828a4847001289c1c594d62871207401f2806ef7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sgtsnepi-0.4.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 79224c7412e60fb53e62e017d0850e52eea06f341236a091d2018d329017ea45
MD5 30dfbe1f0ab68dc74fa5af6306e98af1
BLAKE2b-256 99e549dd69da122368bc0722835be8d7cc5a69dda638ab483f6b3a1f158db822

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sgtsnepi-0.4.4-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 c00b999888ee176ae1d4e552b71201530ceba9e27e3578f166c7a59549114797
MD5 8f3d905ab39bff96ea79654aa887a8d9
BLAKE2b-256 68e534e6c70a235ba831ec2a1e237f1f60a843cdbb461991996352ba6b84a431

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sgtsnepi-0.4.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 dcba2734d8590042c7d4ceb5adfd2b830e51e2160e6583e1c2b144ab49b36fb9
MD5 0cbbf44401339d9ea344f1f7e98f22fc
BLAKE2b-256 01b2d05bd2cd0d9d5706f3f2635190f9df666a0afd493e630850c1e2c477b9b5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sgtsnepi-0.4.4-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 1f1568545bbc0b8387a5834d0b814b2ddddd683a4f806a074378ed50f1d3a8f4
MD5 aeccfb653950f97292e7551b2f57b621
BLAKE2b-256 23c48104e1850f8e889a7812ec85ad6e8482f27c9dcb6dc5df8b7535ce228ad2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sgtsnepi-0.4.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 3e82ea2c703cecfe5ad2591eb05530efa7ba2f096c6576897c1846a39be48a0d
MD5 45e52e395b99998dde6f919a31569b14
BLAKE2b-256 bbe3c0885c091c5b08f1a07d2ee6ae4d5b103df99d3676aa1d146bb8f3603b0b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sgtsnepi-0.4.4-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 06324fa66a7ce3da6ff1926eb5eebf79a70664172a751fa032270086af827798
MD5 01a2e1d0bb798cb6a11bf0e846fd3c21
BLAKE2b-256 42001944100264abfd34bc83686ee71480072d70381470be8197dade3e3ecf7e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sgtsnepi-0.4.4-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 24aca35384fb86e0ee513374c0c271bdf05b202dc1f4002a9fe616b4a884f515
MD5 3a963772d1ea267b83cd791b9075a592
BLAKE2b-256 e721ae8abb58ff9f1c4e2e2f0a24660b9e5e43f13f0e4ebac52a95906e68acee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for sgtsnepi-0.4.4-cp39-cp39-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 eb3e2c54e0255f5a44e3ed3ffecb4f34bd875d349af056571ea9dc70326b6759
MD5 f153b710c5108083e61f655ed735b05e
BLAKE2b-256 607aa9f983a35feb82b5bafe0599d2fecc785125e72752f07056f1f32dd5f7f8

See more details on using hashes here.

Provenance

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