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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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