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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sgtsnepi-0.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: sgtsnepi-0.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a57be519a73ccfa20f808a4702c7ddd3cac42d6e032596b5e0ffd6967c0314a1
|
|
| MD5 |
a69fdbfff5e2c6daabb2aa521e58de19
|
|
| BLAKE2b-256 |
eccaea4b6f288eea5d697912f042efcde53e8496f4aa3903c138dd6e63c84183
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sgtsnepi-0.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
a57be519a73ccfa20f808a4702c7ddd3cac42d6e032596b5e0ffd6967c0314a1 - Sigstore transparency entry: 173818009
- Sigstore integration time:
-
Permalink:
alex-unofficial/sgtsnepi-python@1823450ac8c0157b9fa1a7c2f676c940c45eb297 -
Branch / Tag:
refs/tags/v0.4 - Owner: https://github.com/alex-unofficial
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@1823450ac8c0157b9fa1a7c2f676c940c45eb297 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sgtsnepi-0.4-cp313-cp313-macosx_14_0_arm64.whl.
File metadata
- Download URL: sgtsnepi-0.4-cp313-cp313-macosx_14_0_arm64.whl
- Upload date:
- Size: 841.8 kB
- Tags: CPython 3.13, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c8f30608a63ca1bd3b44635c1ea5a3de418ea61ffdb4dbc430438c97c69fed8
|
|
| MD5 |
ab616e5a02109460505429f853f3a810
|
|
| BLAKE2b-256 |
f995bd891eaee29f470407b3f99193b9260b0ca9bb432c75b6e49645ed022969
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sgtsnepi-0.4-cp313-cp313-macosx_14_0_arm64.whl -
Subject digest:
9c8f30608a63ca1bd3b44635c1ea5a3de418ea61ffdb4dbc430438c97c69fed8 - Sigstore transparency entry: 173818020
- Sigstore integration time:
-
Permalink:
alex-unofficial/sgtsnepi-python@1823450ac8c0157b9fa1a7c2f676c940c45eb297 -
Branch / Tag:
refs/tags/v0.4 - Owner: https://github.com/alex-unofficial
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@1823450ac8c0157b9fa1a7c2f676c940c45eb297 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sgtsnepi-0.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: sgtsnepi-0.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7f8279d6f7f9027a8627cd2a838f5543c233c20bfc3dc119eb3ac0f060716d9
|
|
| MD5 |
b99ffe6ebb6e5b03ba78d2ccb2cd8953
|
|
| BLAKE2b-256 |
48d822ec43301732bdfc3aec5974e8c78a1d42800f777340b7651c1b4b183033
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sgtsnepi-0.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
a7f8279d6f7f9027a8627cd2a838f5543c233c20bfc3dc119eb3ac0f060716d9 - Sigstore transparency entry: 173818008
- Sigstore integration time:
-
Permalink:
alex-unofficial/sgtsnepi-python@1823450ac8c0157b9fa1a7c2f676c940c45eb297 -
Branch / Tag:
refs/tags/v0.4 - Owner: https://github.com/alex-unofficial
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@1823450ac8c0157b9fa1a7c2f676c940c45eb297 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sgtsnepi-0.4-cp312-cp312-macosx_14_0_arm64.whl.
File metadata
- Download URL: sgtsnepi-0.4-cp312-cp312-macosx_14_0_arm64.whl
- Upload date:
- Size: 841.7 kB
- Tags: CPython 3.12, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2eb47a7097b7e21512c23c58d3f2adfe6993ce77fad8bcea70bdb988256c317e
|
|
| MD5 |
f1820fa2cbda66f89cf057b221644888
|
|
| BLAKE2b-256 |
fe7ea940269914f9e620a54e97029878245f3d55753ab96ffb69d65273caedd3
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sgtsnepi-0.4-cp312-cp312-macosx_14_0_arm64.whl -
Subject digest:
2eb47a7097b7e21512c23c58d3f2adfe6993ce77fad8bcea70bdb988256c317e - Sigstore transparency entry: 173818013
- Sigstore integration time:
-
Permalink:
alex-unofficial/sgtsnepi-python@1823450ac8c0157b9fa1a7c2f676c940c45eb297 -
Branch / Tag:
refs/tags/v0.4 - Owner: https://github.com/alex-unofficial
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@1823450ac8c0157b9fa1a7c2f676c940c45eb297 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sgtsnepi-0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: sgtsnepi-0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fb7fbee66f70621220cebbc448f064a22dc2dd1f9e3200143eff3129dad0391
|
|
| MD5 |
f29f8747b83eb8b8f43f94f79c9ee9ca
|
|
| BLAKE2b-256 |
2019c4b4cff2af9046180beb2051f9009f7201f1837afa199c0bb6b84ef44885
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sgtsnepi-0.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
5fb7fbee66f70621220cebbc448f064a22dc2dd1f9e3200143eff3129dad0391 - Sigstore transparency entry: 173818017
- Sigstore integration time:
-
Permalink:
alex-unofficial/sgtsnepi-python@1823450ac8c0157b9fa1a7c2f676c940c45eb297 -
Branch / Tag:
refs/tags/v0.4 - Owner: https://github.com/alex-unofficial
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@1823450ac8c0157b9fa1a7c2f676c940c45eb297 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sgtsnepi-0.4-cp311-cp311-macosx_14_0_arm64.whl.
File metadata
- Download URL: sgtsnepi-0.4-cp311-cp311-macosx_14_0_arm64.whl
- Upload date:
- Size: 842.5 kB
- Tags: CPython 3.11, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9275c969dffc12712da1fb980f04675027b52e1759bf57fbe482228e07db2e75
|
|
| MD5 |
4dbe51d388d39fbac43a9370f1f02699
|
|
| BLAKE2b-256 |
06a8a9be73d7beffcc6eac40ea2443c0f37a580769401d1e5633cf472e662c09
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sgtsnepi-0.4-cp311-cp311-macosx_14_0_arm64.whl -
Subject digest:
9275c969dffc12712da1fb980f04675027b52e1759bf57fbe482228e07db2e75 - Sigstore transparency entry: 173818022
- Sigstore integration time:
-
Permalink:
alex-unofficial/sgtsnepi-python@1823450ac8c0157b9fa1a7c2f676c940c45eb297 -
Branch / Tag:
refs/tags/v0.4 - Owner: https://github.com/alex-unofficial
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@1823450ac8c0157b9fa1a7c2f676c940c45eb297 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sgtsnepi-0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: sgtsnepi-0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
739bdda37f34e723db7a599bc216290b6bd9f8558aea753b68f230411b66d5fd
|
|
| MD5 |
30c9f79c556034e837cf5a5d003b4ba0
|
|
| BLAKE2b-256 |
f486a7678d1d966ff0653a5855566edaf54fa95b88f1c4c2d47ecede334dacd2
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sgtsnepi-0.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
739bdda37f34e723db7a599bc216290b6bd9f8558aea753b68f230411b66d5fd - Sigstore transparency entry: 173818015
- Sigstore integration time:
-
Permalink:
alex-unofficial/sgtsnepi-python@1823450ac8c0157b9fa1a7c2f676c940c45eb297 -
Branch / Tag:
refs/tags/v0.4 - Owner: https://github.com/alex-unofficial
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@1823450ac8c0157b9fa1a7c2f676c940c45eb297 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sgtsnepi-0.4-cp310-cp310-macosx_14_0_arm64.whl.
File metadata
- Download URL: sgtsnepi-0.4-cp310-cp310-macosx_14_0_arm64.whl
- Upload date:
- Size: 841.3 kB
- Tags: CPython 3.10, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70ec13d2825be255e14c199935b17faf20e3782984e60db3a78ca7d9b44adc59
|
|
| MD5 |
dc930d351512d1e06ea91be92a6f2555
|
|
| BLAKE2b-256 |
d344a9ea38a123e0e28ffeb9d4fb797f86034b74f7ba342a677eee3173ac7d48
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sgtsnepi-0.4-cp310-cp310-macosx_14_0_arm64.whl -
Subject digest:
70ec13d2825be255e14c199935b17faf20e3782984e60db3a78ca7d9b44adc59 - Sigstore transparency entry: 173818012
- Sigstore integration time:
-
Permalink:
alex-unofficial/sgtsnepi-python@1823450ac8c0157b9fa1a7c2f676c940c45eb297 -
Branch / Tag:
refs/tags/v0.4 - Owner: https://github.com/alex-unofficial
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@1823450ac8c0157b9fa1a7c2f676c940c45eb297 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sgtsnepi-0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: sgtsnepi-0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a3b289e2448b91d5bd1dad0d94179de1f492a290fc98d1dc41ef19787145515
|
|
| MD5 |
eb72f4e21ad9b9fd252caadf8861f40e
|
|
| BLAKE2b-256 |
740008085fea01cf7dc3e219f034b823dee893621f4ad5103157e4e8219cc003
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sgtsnepi-0.4-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
9a3b289e2448b91d5bd1dad0d94179de1f492a290fc98d1dc41ef19787145515 - Sigstore transparency entry: 173818007
- Sigstore integration time:
-
Permalink:
alex-unofficial/sgtsnepi-python@1823450ac8c0157b9fa1a7c2f676c940c45eb297 -
Branch / Tag:
refs/tags/v0.4 - Owner: https://github.com/alex-unofficial
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@1823450ac8c0157b9fa1a7c2f676c940c45eb297 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sgtsnepi-0.4-cp39-cp39-macosx_14_0_arm64.whl.
File metadata
- Download URL: sgtsnepi-0.4-cp39-cp39-macosx_14_0_arm64.whl
- Upload date:
- Size: 841.4 kB
- Tags: CPython 3.9, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd824e8935c269ad1333859993ea432bf8d3926651a17599bc57e9c52192cbf7
|
|
| MD5 |
c1fbba8feb7d71da81210c513424e7a9
|
|
| BLAKE2b-256 |
51f11a54472c542ebb976625768724e2ee745ca4381cf8047c7c89b41ef83bd4
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sgtsnepi-0.4-cp39-cp39-macosx_14_0_arm64.whl -
Subject digest:
cd824e8935c269ad1333859993ea432bf8d3926651a17599bc57e9c52192cbf7 - Sigstore transparency entry: 173818010
- Sigstore integration time:
-
Permalink:
alex-unofficial/sgtsnepi-python@1823450ac8c0157b9fa1a7c2f676c940c45eb297 -
Branch / Tag:
refs/tags/v0.4 - Owner: https://github.com/alex-unofficial
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@1823450ac8c0157b9fa1a7c2f676c940c45eb297 -
Trigger Event:
push
-
Statement type: