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 hashes)

Uploaded Source

Built Distribution

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

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

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