Skip to main content

high_dimensional_density

HighDim is a numerical package for computing the marginal density distribution. The algorithm is inspired by the paper: High-Dimensional Probability Estimation with Deep Density Models. This originally applied to verify the distribution of output of machine learning. The authors proposed the algorithm which mapped the complex high dimensional data into Dirichlet distribution. This approach preserve the number of dimension and gives us known and identical marginal density function.

The proof for the approach is in here: High-dimensional probability estimation for empirical data

Installation

pip install HighDim

Usage

 #The domain of high dimensional data
 data = np.random.rand(100, 10)

 # The marginal density distribution of x
 x = 0.3

 # The marginal density distribution of x for each dimension
 density = marginal_density(data, x)

 print(density)
 # [1.24974725e-119 2.12110416e-067 1.61715010e-097 5.76937215e-109
 # 1.63627432e-091 1.72724426e-126 1.49437302e-091 6.77392214e-064
 # 1.45718278e-120 3.84252945e-082]

Metadata

Release files for HighDim 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for HighDim 0.0.3
File Size Uploaded
HighDim-0.0.3.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for HighDim 0.0.3
File Interpreter ABI Platform
HighDim-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 5.6 kB

Release files / HighDim-0.0.3.tar.gz

Download URL HighDim-0.0.3.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
84bfc41b0a00062cafb5dcdf76a49f7ee0200e11642e66f5beaf1d1b739817fd
BLAKE2b-256 checksum
How to use checksums
f88efdf1d23f42f6c7773f72ee4b8741fdfae97587519bcdca2d31a3f597b125
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.5

Release files / HighDim-0.0.3-py3-none-any.whl

Download URL HighDim-0.0.3-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ddb4250714e8794adf7e8b4d340360bb5fe4fefe7454ea0eea6243a3a316602e
BLAKE2b-256 checksum
How to use checksums
76a9c161a1bfc9d012f25066eb92cd0c8a486063f31cea59667dc28a5a3521cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.5

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page