Skip to main content

Spectral Embedding Using Deep Neural Networks

Project description

ScaSE

ScaSE is a Python package that performs Spectral Embedding with deep neural networks.

This package is based on the following paper - ScaSE

Usage

The basic functionality is quite intuitive and easy to use, e.g.,

from scase import ScaSE

scase = ScaSE(n_components=10) # n_components is the number of dimensions in the low-dimensional representation
scase.fit(X) # X is the dataset and it should be a torch.Tensor
X_reduced = scase.transfrom(X) # Get the low-dimensional representation of the dataset
Y_reduced = scase.transform(Y) # Get the low-dimensional representation of a test dataset

You can read the code docs for more information and functionalities.

Running examples

In order to run the model on the moon dataset, you can either run the file, or using the command-line command:
python -m examples.reduce_moon
This will run the model on the moon dataset and plot the results.

The same can be done for the circles dataset:
python -m examples.reduce_circles

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scase-0.1.1.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scase-0.1.1-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file scase-0.1.1.tar.gz.

File metadata

  • Download URL: scase-0.1.1.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.6

File hashes

Hashes for scase-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5533b45743eb822b9f7eaa01cd9648a597c6e3bc3f1c15a0630a53718cfaa13e
MD5 69624088056a248078e943f4cae8a959
BLAKE2b-256 031efe43844301f16802fb150c33e0931a228a050301ce48a8094bafaa2eb690

See more details on using hashes here.

File details

Details for the file scase-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: scase-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.6

File hashes

Hashes for scase-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3da49e54f9b358fb8a0aeeac61175e2dc72348eac41783368ff7b4b7fccecbcc
MD5 d246cb3a23a269a0752a4c227acb399c
BLAKE2b-256 b4c5ed95203ee6b0f48a7f7329bb87573b1d386125259be4fb8d94b3e0800fbc

See more details on using hashes here.

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