This is not an officially supported Google product.
In MMD-MA (Liu et al. 2019, Jointly Embedding Multiple
Single-Cell Omics Measurements), we project two sets of points, from two different spaces endowed
with a positive definite kernel, to a shared Euclidean space of dimension
low_dim. The mappings from high to low dimensional space are
obtained using functions belonging to the respective RKHS. To obtain the
mappings, we minimise a loss function that is composed of three terms:
- an MMD term between the low dimensional representations of the two views, which encourages them to have the same distribution.
- two non-collapsing penalty terms (corresponding to the
pen_dualorpen_primalfunctions), one for each view. These terms ensure that the low dimensional representations are mutually orthogonal, preventing collapsing. - two distortion penalties (corresponding to the
dis_dualordis_primalfunctions), one for each view. These terms encourage the low dimensional representation to obtain the same pairwise structure as the original views.
MMD-MA can be formulated using either the primal (when we use the linear kernel in the input spaces) or the dual problem. Each has advantages or disadvantages depending on the input data. In each view, when the number of features is larger than the number of samples p_featureX >> n_sampleX, then the dual formulation is beneficial in terms of runtime and memory, while if n_sampleX >> p_sampleX, the primal formulation is favorable.
Example
Work in progress. See main.py for usage.
Metadata
Release files for lsmtest10 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lsmtest10-0.0.1.tar.gz | 20.0 kB | Without provenance | Details for lsmtest10-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lsmtest10-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for lsmtest10-0.0.1-py3-none-any.whl |
Total release size: 53.3 kB
Release files / lsmtest10-0.0.1.tar.gz
| Download URL | lsmtest10-0.0.1.tar.gz |
|---|---|
| Size | 20.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78746c0e87a1dff2143ee883e7f1a96156e380b4a85e5cf833ed64142fefeeae
|
|
BLAKE2b-256 checksum How to use checksums |
7849b236a69a023aa03970c583d85ec9c55da6567684f3cfe28c74273cc47cb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / lsmtest10-0.0.1-py3-none-any.whl
| Download URL | lsmtest10-0.0.1-py3-none-any.whl |
|---|---|
| Size | 33.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04b59c9f433e81dc40e80eedc82efb1e5c483addf7a8319f93eaf6be6b218686
|
|
BLAKE2b-256 checksum How to use checksums |
0e693d529124faff2c67fa49c6f24126a4129422b659f3f3e09a4c0c65111360
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Security for lsmtest10 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.