diversipy


Namediversipy JSON
Version 0.8 PyPI version JSON
download
home_pagehttps://www.simonwessing.de/diversipy/doc/
SummarySample in hypercubes, select diverse subsets, and measure diversity
upload_time2018-06-14 10:26:24
maintainer
docs_urlNone
authorSimon Wessing
requires_python
licenseBSD
keywords diversity uniformity discrepancy distance hypercube subset doe dace space-filling design experiments latin stratified lattice
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Description
===========

diversipy is a collection of algorithms dealing with three different but related
topics. The first topic is super-uniform sampling of the unit hypercube.
‘Super-uniform’ in this context means that the obtained point sample should be
more uniform than a random uniform sample, which is a desirable property in many
applications. One such application is the design of computer experiments, where
typically space-filling experimental designs are used. After creation, the
samples can be transformed from the unit hypercube to arbitrary cuboids.

The task of subset selection is defined as follows: suppose you have a set of
points in R^n and want to select a sample of them distributed as uniformly as
possible. This may be necessary because the original set is too large to be 
processed entirely. The selection problem is related to clustering, with the
difference that when using clustering, you usually want to retain the
structure of the original point set.

Once one has created (or obtained from somewhere) a point set, one may want to
assess its properties. Therefore, diversipy contains several functions to
measure diversity and a few related concepts. Several different indicators are
offered because they have different advantages and disadvantages (in terms
of run time and what they measure).


Example
=======

>>> from diversipy import *
>>> design = transform_spread_out(lhd_matrix(50, 2)) # create latin hypercube design
>>> subset = psa_select(design, 10) # select subset, for whatever reason
>>> unanchored_L2_discrepancy(subset) # calculate discrepancy

Note that points are stored row-wise, in accordance with numpy convention.


Documentation
=============

The documentation is located at 
https://www.simonwessing.de/diversipy/doc/

            

Raw data

            {
    "_id": null,
    "home_page": "https://www.simonwessing.de/diversipy/doc/",
    "name": "diversipy",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "diversity uniformity discrepancy distance hypercube subset doe dace space-filling design experiments latin stratified lattice",
    "author": "Simon Wessing",
    "author_email": "simon.wessing@tu-dortmund.de",
    "download_url": "https://files.pythonhosted.org/packages/56/9d/b147d06b469051bd90528468c57c7044bc51927a2ee010a8ce35f5df2604/diversipy-0.8.tar.gz",
    "platform": "",
    "description": "Description\n===========\n\ndiversipy is a collection of algorithms dealing with three different but related\ntopics. The first topic is super-uniform sampling of the unit hypercube.\n\u2018Super-uniform\u2019 in this context means that the obtained point sample should be\nmore uniform than a random uniform sample, which is a desirable property in many\napplications. One such application is the design of computer experiments, where\ntypically space-filling experimental designs are used. After creation, the\nsamples can be transformed from the unit hypercube to arbitrary cuboids.\n\nThe task of subset selection is defined as follows: suppose you have a set of\npoints in R^n and want to select a sample of them distributed as uniformly as\npossible. This may be necessary because the original set is too large to be \nprocessed entirely. The selection problem is related to clustering, with the\ndifference that when using clustering, you usually want to retain the\nstructure of the original point set.\n\nOnce one has created (or obtained from somewhere) a point set, one may want to\nassess its properties. Therefore, diversipy contains several functions to\nmeasure diversity and a few related concepts. Several different indicators are\noffered because they have different advantages and disadvantages (in terms\nof run time and what they measure).\n\n\nExample\n=======\n\n>>> from diversipy import *\n>>> design = transform_spread_out(lhd_matrix(50, 2)) # create latin hypercube design\n>>> subset = psa_select(design, 10) # select subset, for whatever reason\n>>> unanchored_L2_discrepancy(subset) # calculate discrepancy\n\nNote that points are stored row-wise, in accordance with numpy convention.\n\n\nDocumentation\n=============\n\nThe documentation is located at \nhttps://www.simonwessing.de/diversipy/doc/\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "Sample in hypercubes, select diverse subsets, and measure diversity",
    "version": "0.8",
    "project_urls": {
        "Homepage": "https://www.simonwessing.de/diversipy/doc/"
    },
    "split_keywords": [
        "diversity",
        "uniformity",
        "discrepancy",
        "distance",
        "hypercube",
        "subset",
        "doe",
        "dace",
        "space-filling",
        "design",
        "experiments",
        "latin",
        "stratified",
        "lattice"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "569db147d06b469051bd90528468c57c7044bc51927a2ee010a8ce35f5df2604",
                "md5": "a7c198e324b8dbb5adf6fa1206916e47",
                "sha256": "6abc959e64821c7122137c4352a7c9d45217a26feb2b4d4830d627b0c82b04d4"
            },
            "downloads": -1,
            "filename": "diversipy-0.8.tar.gz",
            "has_sig": false,
            "md5_digest": "a7c198e324b8dbb5adf6fa1206916e47",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 26997,
            "upload_time": "2018-06-14T10:26:24",
            "upload_time_iso_8601": "2018-06-14T10:26:24.689987Z",
            "url": "https://files.pythonhosted.org/packages/56/9d/b147d06b469051bd90528468c57c7044bc51927a2ee010a8ce35f5df2604/diversipy-0.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2018-06-14 10:26:24",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "diversipy"
}
        
Elapsed time: 0.10672s