Skip to main content

Deep Recursive Embedding for High-Dimensional Data

Project description

Deep Recursive Embedding

Deep Recursive Embedding (DRE) is a novel demensionality reduction method based on a generic deep embedding network (DEN) framework, which is able to learn a parametric mapping from high-dimensional space to low-dimensional space, guided by a recursive training strategy. DRE makes use of the latent data representations for boosted embedding performance.

Lab github DRE page: Tao Lab

Maintainer's github DRE page: Xinrui Zu

MNIST embedding result

gif

Installation

DRE can be installed with a simple PyPi command:

pip install DRE

The pre-requests of DRE are:

numpy >= 1.19 scikit-learn >= 0.16 matplotlib numba >= 0.34 torch >= 1.0

How to use DRE

DRE follows the form of Scikit-learn APIs, whose fit_transform function is for returning the embedding result and fit for the whole model:

from DRE import DeepRecursiveEmbedding

dre = DeepRecursiveEmbedding()
# return the embedding result:
y = dre.fit_transform(x)
# or return the whole model:
dre.fit(x)

Copy and run test_mnist.py or test_mnist.ipynb to check the embedding procedure of MNIST dataset.

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

DRE-1.1.27.tar.gz (59.2 kB view details)

Uploaded Source

Built Distribution

DRE-1.1.27-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (106.6 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.5+ x86-64

File details

Details for the file DRE-1.1.27.tar.gz.

File metadata

  • Download URL: DRE-1.1.27.tar.gz
  • Upload date:
  • Size: 59.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.7.1 requests/2.25.1 setuptools/58.2.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10

File hashes

Hashes for DRE-1.1.27.tar.gz
Algorithm Hash digest
SHA256 4018e31a1bcce3fc0998925495743b41535b541b19f941b585d2bbb2c0d72b0f
MD5 883e9294e42806272e8349fb216fb629
BLAKE2b-256 8a93f231e241638f757e56e2812173f281cfcec4155f665320c92b2cf36cfac4

See more details on using hashes here.

File details

Details for the file DRE-1.1.27-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

  • Download URL: DRE-1.1.27-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
  • Upload date:
  • Size: 106.6 kB
  • Tags: CPython 3.7m, manylinux: glibc 2.5+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.7.1 requests/2.25.1 setuptools/58.2.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10

File hashes

Hashes for DRE-1.1.27-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d1bb99a578cfcba61f8363b879ee4244d0ad84086c6824eba14c13b563712375
MD5 2f1584afdd0e87887a093ab8692a792e
BLAKE2b-256 0f749877d85f1df8d7fdd59818dd8e5cadc03450e7e08ed19820949451d70ba6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page