otkerneldesign


Nameotkerneldesign JSON
Version 0.1.3 PyPI version JSON
download
home_pagehttps://github.com/efekhari27/otkerneldesign
SummaryDesign of experiments based on kernel methods
upload_time2022-06-23 09:57:57
maintainer
docs_urlNone
authorElias Fekhari, Joseph Muré
requires_python
licenseLGPLv3+
keywords openturns kernelherding
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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

```bash
~$ pip install otkerneldesign
```

## Documentation & references

- [Package documentation](https://efekhari27.github.io/otkerneldesign/master/index.html)
- [Usage in Machine Learning model validation](https://hal.archives-ouvertes.fr/hal-03523695v2/document)
- [Support points](https://projecteuclid.org/journals/annals-of-statistics/volume-46/issue-6A/Support-points/10.1214/17-AOS1629.full)
- [Kernel herding](https://arxiv.org/abs/1203.3472)

## Example

```python
>>> 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](examples/normal_kh.jpg)

## Authors

- Elias Fekhari
- Joseph Muré




            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/efekhari27/otkerneldesign",
    "name": "otkerneldesign",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "OpenTURNS,KernelHerding",
    "author": "Elias Fekhari, Joseph Mur\u00e9",
    "author_email": "elias.fekhari@edf.fr",
    "download_url": "https://files.pythonhosted.org/packages/23/f9/951c487618d526bd91cc5bbf1d7cea9906580accaf181ba262c1c5d75e74/otkerneldesign-0.1.3.tar.gz",
    "platform": null,
    "description": "# otkerneldesign\n\nThis Python module generates designs of experiments based on kernel methods such as Kernel Herding and Support Points with the classes:\n- KernelHerding\n- KernelHerdingTensorized\n- GreedySupportPoints\n\nAdditionally, optimal weights for quadrature and validation designs are provided by the classes:\n\n- BayesianQuadratureWeighting\n- TestSetWeighting\n\n## Installation\n\n```bash\n~$ pip install otkerneldesign\n```\n\n## Documentation & references\n\n- [Package documentation](https://efekhari27.github.io/otkerneldesign/master/index.html)\n- [Usage in Machine Learning model validation](https://hal.archives-ouvertes.fr/hal-03523695v2/document)\n- [Support points](https://projecteuclid.org/journals/annals-of-statistics/volume-46/issue-6A/Support-points/10.1214/17-AOS1629.full)\n- [Kernel herding](https://arxiv.org/abs/1203.3472)\n\n## Example\n\n```python\n>>> import openturns as ot\n>>> import otkerneldesign as otkd\n>>> # Distribution definition\n>>> distribution = ot.ComposedDistribution([ot.Normal(0.5, 0.1)] * 2)\n>>> dimension = distribution.getDimension()\n>>> # Kernel definition\n>>> ker_list = [ot.MaternModel([0.1], [1.0], 2.5)] * dimension\n>>> kernel = ot.ProductCovarianceModel(ker_list)\n>>> # Kernel herding design\n>>> kh = otkd.KernelHerding(kernel=kernel, distribution=distribution)\n>>> kh_design, kh_indices = kh.select_design(size=20)\n```\n![normal_kh](examples/normal_kh.jpg)\n\n## Authors\n\n- Elias Fekhari\n- Joseph Mur\u00e9\n\n\n\n",
    "bugtrack_url": null,
    "license": "LGPLv3+",
    "summary": "Design of experiments based on kernel methods",
    "version": "0.1.3",
    "split_keywords": [
        "openturns",
        "kernelherding"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "e12c209cdec8758f33fd9d40a7a88e09",
                "sha256": "013db3469457d709358bd2dfb9cb8baba4733d813dd49c9ae249632fc1933c2d"
            },
            "downloads": -1,
            "filename": "otkerneldesign-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e12c209cdec8758f33fd9d40a7a88e09",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 23526,
            "upload_time": "2022-06-23T09:57:55",
            "upload_time_iso_8601": "2022-06-23T09:57:55.555836Z",
            "url": "https://files.pythonhosted.org/packages/22/e2/0bd0c96ec7d722fd709c6f280b898f95ff863fe9d50e99daaa4bbf9afcd3/otkerneldesign-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "d74dca843790023f53e1375f9b237dcf",
                "sha256": "f064e5f5dc9ed812b8964bcbc764c5cb9c9f0afb2bfd67e1d0f9ff5313d60b59"
            },
            "downloads": -1,
            "filename": "otkerneldesign-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "d74dca843790023f53e1375f9b237dcf",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 27801,
            "upload_time": "2022-06-23T09:57:57",
            "upload_time_iso_8601": "2022-06-23T09:57:57.725143Z",
            "url": "https://files.pythonhosted.org/packages/23/f9/951c487618d526bd91cc5bbf1d7cea9906580accaf181ba262c1c5d75e74/otkerneldesign-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-06-23 09:57:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "efekhari27",
    "github_project": "otkerneldesign",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "otkerneldesign"
}
        
Elapsed time: 0.55915s