moz-measure-noise


Namemoz-measure-noise JSON
Version 2.70.0 PyPI version JSON
download
home_pagehttps://github.com/mozilla/measure-noise
SummaryMeasure deviant noise
upload_time2024-11-18 21:26:19
maintainerNone
docs_urlNone
authorMozilla Perftest
requires_pythonNone
licenseMPL 2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            # measure-noise
Measure how our data deviates from normal distribution


|Branch      |Status   | Coverage |
|------------|---------|----------|
|master      | [![Build Status](https://travis-ci.org/mozilla/measure-noise.svg?branch=master)](https://travis-ci.org/mozilla/measure-noise) | |
|dev         | [![Build Status](https://travis-ci.org/mozilla/measure-noise.svg?branch=dev)](https://travis-ci.org/mozilla/measure-noise)    | [![Coverage Status](https://coveralls.io/repos/github/mozilla/measure-noise/badge.svg)](https://coveralls.io/github/mozilla/measure-noise) |


## Install

    pip install measure-noise

## Usage

The `deviance()` method will return a `(description, score)` pair describing how the samples deviate from a normal distribution, and by how much.  This is intended to screen samples for use in the t-test, and other statistics, that assume a normal distribution.

* `SKEWED` - samples are heavily to one side of the mean
* `OUTLIERS` - there are more outliers than would be expected from normal distribution
* `MODAL` - few samples are near the mean (probably bimodal)
* `OK` - no egregious deviation from normal
* `N/A` - not enough data to make a conclusion (aka `OK`)

#### Example

    from measure_noise import deviance

	>>> desc, score = deviance([1,2,3,4,5,6,7,8])
    >>> desc
    'OK'

## Development

    git clone https://github.com/mozilla/measure-noise.git
    cd measure-noise
    pip install -r requirements.txt
    pip install or tests/requirements.txt
    python -m unittest discover tests 

## Windows

You must download the `scipy` and `numpy` binary packages. 

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/mozilla/measure-noise",
    "name": "moz-measure-noise",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Mozilla Perftest",
    "author_email": "perftest@mozilla.com",
    "download_url": "https://files.pythonhosted.org/packages/d5/c6/561da4fc2c21515d61ff28e27f90bac77b6771999fb4cbb0eab10ed773eb/moz_measure_noise-2.70.0.tar.gz",
    "platform": null,
    "description": "# measure-noise\nMeasure how our data deviates from normal distribution\n\n\n|Branch      |Status   | Coverage |\n|------------|---------|----------|\n|master      | [![Build Status](https://travis-ci.org/mozilla/measure-noise.svg?branch=master)](https://travis-ci.org/mozilla/measure-noise) | |\n|dev         | [![Build Status](https://travis-ci.org/mozilla/measure-noise.svg?branch=dev)](https://travis-ci.org/mozilla/measure-noise)    | [![Coverage Status](https://coveralls.io/repos/github/mozilla/measure-noise/badge.svg)](https://coveralls.io/github/mozilla/measure-noise) |\n\n\n## Install\n\n    pip install measure-noise\n\n## Usage\n\nThe `deviance()` method will return a `(description, score)` pair describing how the samples deviate from a normal distribution, and by how much.  This is intended to screen samples for use in the t-test, and other statistics, that assume a normal distribution.\n\n* `SKEWED` - samples are heavily to one side of the mean\n* `OUTLIERS` - there are more outliers than would be expected from normal distribution\n* `MODAL` - few samples are near the mean (probably bimodal)\n* `OK` - no egregious deviation from normal\n* `N/A` - not enough data to make a conclusion (aka `OK`)\n\n#### Example\n\n    from measure_noise import deviance\n\n\t>>> desc, score = deviance([1,2,3,4,5,6,7,8])\n    >>> desc\n    'OK'\n\n## Development\n\n    git clone https://github.com/mozilla/measure-noise.git\n    cd measure-noise\n    pip install -r requirements.txt\n    pip install or tests/requirements.txt\n    python -m unittest discover tests \n\n## Windows\n\nYou must download the `scipy` and `numpy` binary packages. \n",
    "bugtrack_url": null,
    "license": "MPL 2.0",
    "summary": "Measure deviant noise",
    "version": "2.70.0",
    "project_urls": {
        "Homepage": "https://github.com/mozilla/measure-noise"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2bc9bf190ed3de9d1f3e47829833cbf805a3dde20e6381e02f473bcb2de9c609",
                "md5": "06cd6410e6d90fc25242131d856d78ab",
                "sha256": "e068a383753346dcbd636987d76997d8e03494b61c55a835a16161ad7d2e8d56"
            },
            "downloads": -1,
            "filename": "moz_measure_noise-2.70.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "06cd6410e6d90fc25242131d856d78ab",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 21367,
            "upload_time": "2024-11-18T21:26:17",
            "upload_time_iso_8601": "2024-11-18T21:26:17.449028Z",
            "url": "https://files.pythonhosted.org/packages/2b/c9/bf190ed3de9d1f3e47829833cbf805a3dde20e6381e02f473bcb2de9c609/moz_measure_noise-2.70.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d5c6561da4fc2c21515d61ff28e27f90bac77b6771999fb4cbb0eab10ed773eb",
                "md5": "8e1d898d253c6f968b5a21cc7fa2dda4",
                "sha256": "12019ccf56e42c9cebf2a09aebbe38b69e4c9ee5995c61ea7fe8abfb387b18f0"
            },
            "downloads": -1,
            "filename": "moz_measure_noise-2.70.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8e1d898d253c6f968b5a21cc7fa2dda4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 23375,
            "upload_time": "2024-11-18T21:26:19",
            "upload_time_iso_8601": "2024-11-18T21:26:19.155738Z",
            "url": "https://files.pythonhosted.org/packages/d5/c6/561da4fc2c21515d61ff28e27f90bac77b6771999fb4cbb0eab10ed773eb/moz_measure_noise-2.70.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-18 21:26:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mozilla",
    "github_project": "measure-noise",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "moz-measure-noise"
}
        
Elapsed time: 1.19580s