Skip to main content

gpkron

A simple and fast 2D gaussian process fitting using Kronecker product.

same shape

    from gpkron.gp2d import GP2D, RBF, Matern32
    import numpy as np
    Nx = 128; Ny = 256
    xgrid = np.linspace(0, Nx, Nx)
    ygrid = np.linspace(0, Ny, Ny)
    sigma = 0.2
    Dmat = np.sin(xgrid[:, np.newaxis]/20) * np.sin(ygrid[np.newaxis, :]/20) + \
        np.random.randn(Nx, Ny)*sigma
    Dprer = GP2D(Dmat, RBF, sigma, (20., 20.))
    Dprem = GP2D(Dmat, Matern32, sigma, (40., 40.))

sample

different shape

    from gpkron.gp2d import GP2D, RBF, Matern32
    import numpy as np
    Nx = 16; Ny = 32
    pshape=(64,128)

    xgrid = np.linspace(0, Nx, Nx)
    ygrid = np.linspace(0, Ny, Ny)
    sigma = 0.2
    Dmat = np.sin(xgrid[:, np.newaxis]/4) * np.sin(ygrid[np.newaxis, :]/4) + \
        np.random.randn(Nx, Ny)*sigma
    Dprer = GP2D(Dmat, RBF, sigma, (20., 20.), pshape=pshape)
    Dprem = GP2D(Dmat, Matern32, sigma, (40., 40.), pshape=pshape)

sample

Metadata

Release files for gpkron 0.0.1

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

Built distributions (wheels)

Table of built distributions (wheels) for gpkron 0.0.1
File Interpreter ABI Platform
gpkron-0.0.1-py3.8.egg Legacy Egg format - - Details
gpkron-0.0.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 8.0 kB

Release files / gpkron-0.0.1-py3.8.egg

Download URL gpkron-0.0.1-py3.8.egg
Size 4.4 kB
Tags Egg
SHA-256 checksum
How to use checksums
68f3675c6838f98a28a17a90bc8d6fa7c4c32e65b5dd8859c64c3e3fad2b587c
BLAKE2b-256 checksum
How to use checksums
c4fb7a603a0985907c54a65e3279d87ebc76210f847516508309c4f8e6258520
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

Release files / gpkron-0.0.1-py2.py3-none-any.whl

Download URL gpkron-0.0.1-py2.py3-none-any.whl
Size 3.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2c9c8a4f5a96f177937813d152c1377d59bd8f169603d35af86a262d8ac9ae96
BLAKE2b-256 checksum
How to use checksums
016eb1b07a8904b5cf13c78860faa3311a927158735f55ac7f45df6f1803f1cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.0.1 This release

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