Design of experiments based on kernel methods
Project description
otkerneldesign
This Python module generates designs of experiments based on kernel methods such as Kernel Herding and Support Points with the classes:
- KernelHerding
- KernelHerdingTensorized
- GreedySupportPoints
Additionally, optimal weights for quadrature and validation designs are provided by the classes:
- BayesianQuadratureWeighting
- TestSetWeighting
Installation
~$ pip install otkerneldesign
Documentation & references
Example
>>> import openturns as ot
>>> import otkerneldesign as otkd
>>> # Distribution definition
>>> distribution = ot.ComposedDistribution([ot.Normal(0.5, 0.1)] * 2)
>>> dimension = distribution.getDimension()
>>> # Kernel definition
>>> ker_list = [ot.MaternModel([0.1], [1.0], 2.5)] * dimension
>>> kernel = ot.ProductCovarianceModel(ker_list)
>>> # Kernel herding design
>>> kh = otkd.KernelHerding(kernel=kernel, distribution=distribution)
>>> kh_design, kh_indices = kh.select_design(size=20)
Authors
- Elias Fekhari
- Joseph Muré
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
otkerneldesign-0.1.3.tar.gz
(27.8 kB
view details)
Built Distribution
File details
Details for the file otkerneldesign-0.1.3.tar.gz
.
File metadata
- Download URL: otkerneldesign-0.1.3.tar.gz
- Upload date:
- Size: 27.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f064e5f5dc9ed812b8964bcbc764c5cb9c9f0afb2bfd67e1d0f9ff5313d60b59 |
|
MD5 | d74dca843790023f53e1375f9b237dcf |
|
BLAKE2b-256 | 23f9951c487618d526bd91cc5bbf1d7cea9906580accaf181ba262c1c5d75e74 |
File details
Details for the file otkerneldesign-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: otkerneldesign-0.1.3-py3-none-any.whl
- Upload date:
- Size: 23.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 013db3469457d709358bd2dfb9cb8baba4733d813dd49c9ae249632fc1933c2d |
|
MD5 | e12c209cdec8758f33fd9d40a7a88e09 |
|
BLAKE2b-256 | 22e20bd0c96ec7d722fd709c6f280b898f95ff863fe9d50e99daaa4bbf9afcd3 |