Skip to main content

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)

normal_kh

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.4.tar.gz (28.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

otkerneldesign-0.1.4-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

Details for the file otkerneldesign-0.1.4.tar.gz.

File metadata

  • Download URL: otkerneldesign-0.1.4.tar.gz
  • Upload date:
  • Size: 28.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for otkerneldesign-0.1.4.tar.gz
Algorithm Hash digest
SHA256 7ebe39bd93a073c443880cf6ecf36902706fbbb311138ca0b94fe1adcb08f40f
MD5 3094c7a9783b4914c4cbc3b9c7ff23f0
BLAKE2b-256 10e76acb7a516b1708f0eb01cad7b407ddf8dd19c1358aa7333aa69c55e243b3

See more details on using hashes here.

File details

Details for the file otkerneldesign-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: otkerneldesign-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 25.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for otkerneldesign-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8c45f44c3ba804331251b25ded878eb52f474e29d23c6d8b38559baec9e2bcaa
MD5 dec328d26bc01abb92957dafff0cbe98
BLAKE2b-256 13a244c755fba6162a65a83d27ff567d067c16c265c899c37482a89d12f83436

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page