Skip to main content

Transformation for normalising data

Project description

Transformation

Transformation tools to normalise and stabilise the variance of non-normal data.

Build Status

Table of Contents

Overview

normtransform is a high-performance Python package (with Cython/C++ backend) for fitting univariate transformed normal distributions using maximum likelihood or maxium a posteriori (MAP) estimation, with support for left and right censoring. Typically, norm-transform is used to transform variables/data so that they can be used in modelling that assumed normality. The ability to handle scenarios where data may be treated as partially observed (e.g. rainfall) allows significant flexibility in applications.


Installation

Recommended: Using a virtual environment and installing into. A python virtual environment is a self-contained directory that contains a Python installation for a particular version, along with additional packages. It allows you to isolate dependencies for different projects.

Use the package manager pip to install normtransform.

python -m venv venv # Create a virtual environment
source venv/bin/activate  # Activate the virtual enviroment, on Windows use `venv\Scripts\activate`
pip install normtransform #install normtransform

Note: See compatible versions


Example Usage

This demo.py can be used as example for norm-transform. Once a python environment has been build and activated you can run demo.py from the commandline:

  • In the directory where the virtual environment was created with python ./normtransform/demo.py

Contributing

Requests are welcome. Please contact the authors below.


License

MIT


Contact

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

normtransform-0.2.0-cp313-cp313-win_amd64.whl (640.5 kB view details)

Uploaded CPython 3.13Windows x86-64

normtransform-0.2.0-cp313-cp313-win32.whl (583.2 kB view details)

Uploaded CPython 3.13Windows x86

normtransform-0.2.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

normtransform-0.2.0-cp313-cp313-macosx_14_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

normtransform-0.2.0-cp312-cp312-win_amd64.whl (637.4 kB view details)

Uploaded CPython 3.12Windows x86-64

normtransform-0.2.0-cp312-cp312-win32.whl (583.3 kB view details)

Uploaded CPython 3.12Windows x86

normtransform-0.2.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

normtransform-0.2.0-cp312-cp312-macosx_14_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

normtransform-0.2.0-cp311-cp311-win_amd64.whl (645.0 kB view details)

Uploaded CPython 3.11Windows x86-64

normtransform-0.2.0-cp311-cp311-win32.whl (590.5 kB view details)

Uploaded CPython 3.11Windows x86

normtransform-0.2.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

normtransform-0.2.0-cp311-cp311-macosx_14_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

File details

Details for the file normtransform-0.2.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for normtransform-0.2.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 566ea1979cd78a2c111d0096ac003358ff9a388c555a5f7a544f27785c1d600b
MD5 ceb01ce163c979776bcdde2362df0865
BLAKE2b-256 811c1dc387f87c23e5fede6bbd8fca98c9e0429363dde73373f70b67482257e2

See more details on using hashes here.

File details

Details for the file normtransform-0.2.0-cp313-cp313-win32.whl.

File metadata

  • Download URL: normtransform-0.2.0-cp313-cp313-win32.whl
  • Upload date:
  • Size: 583.2 kB
  • Tags: CPython 3.13, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for normtransform-0.2.0-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 6c89000a044478a1fa75591998a395b76ed97428143f1d1c02f4f236ef8a5ec8
MD5 2873ba8742d6c101ed00cff0f0b2be31
BLAKE2b-256 ad8363bc046ee297eb14286195eea4a2f92cfef33b7caddf11abe5daf9f48e14

See more details on using hashes here.

File details

Details for the file normtransform-0.2.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for normtransform-0.2.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b5d02c9b4e362f14937a928bef510297decc89e2bfd350185978bc972a40edf9
MD5 502a657e3517cc2be4d16177b32b93c3
BLAKE2b-256 6dc84bb47f4eeeebbc2336a1f6db30088558686415efc0de48b93e27bad135f9

See more details on using hashes here.

File details

Details for the file normtransform-0.2.0-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for normtransform-0.2.0-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 11035a0d068bec99fb7ecaf63e9df97f0c6b79b734b82f6a4ada1b29a20cf906
MD5 88d616c10387c991d15b5d0958ef4139
BLAKE2b-256 380fc69c2c8e9b0c9b924a36166bde17fcc3eddf870c9fddca4f13443b374408

See more details on using hashes here.

File details

Details for the file normtransform-0.2.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for normtransform-0.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 47ff2ed16d97cd66aa4a6459220904f550984899834700f3a539156164d5e449
MD5 43f11610e6c1f057743e75aa2517cdb3
BLAKE2b-256 2d9309810960bc09769180c0f0c02edef049b71a55dbac19440138390205d1a0

See more details on using hashes here.

File details

Details for the file normtransform-0.2.0-cp312-cp312-win32.whl.

File metadata

  • Download URL: normtransform-0.2.0-cp312-cp312-win32.whl
  • Upload date:
  • Size: 583.3 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for normtransform-0.2.0-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 ca90067c64cd12961152f17eb18f4c97eec7fbf8637562508c097009861d7272
MD5 913c2979f1da3ae860a781037a65ed72
BLAKE2b-256 9fffc84af332d9b2a3f078691ee63ef7cdf63650789c297271bb18f86e2690e3

See more details on using hashes here.

File details

Details for the file normtransform-0.2.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for normtransform-0.2.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cc292b73e10d2ed984dabc28a0eeb31915d77655e812dc40d8e8a54681d969fb
MD5 4cb952ccf2035a14640d31e06c1afb83
BLAKE2b-256 24ddb61b4cba96da1401050caed7258107ad88906deaff296d54867b675b5c69

See more details on using hashes here.

File details

Details for the file normtransform-0.2.0-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for normtransform-0.2.0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f5641d3a45f19eb644e5bebb74e8c2d5f4ab93c1099f18dd2cd4cfc5db908547
MD5 41ed3622a1454ee56c2b4a8ad2a28e80
BLAKE2b-256 85b740345084e0407b7f9292b0227ff580ba9ece4f2a78f29fcd9ff1fc18b09f

See more details on using hashes here.

File details

Details for the file normtransform-0.2.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for normtransform-0.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c7d03b18b470f9d88568b2def5f37bb4254c6e6b65f89d74a985a8d17da52fbf
MD5 1ed2c83b8daf696ea5e985debce37305
BLAKE2b-256 89c17b03b2f91b8969048c55e3a5f5c76cbe8915dd44cca6fd1c7161f5cd0b3d

See more details on using hashes here.

File details

Details for the file normtransform-0.2.0-cp311-cp311-win32.whl.

File metadata

  • Download URL: normtransform-0.2.0-cp311-cp311-win32.whl
  • Upload date:
  • Size: 590.5 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for normtransform-0.2.0-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 7b6c08e977ab214507acd2ebdba3540f466a0ed6e12d903562d68d7034f700be
MD5 388bac1abffd0e5e065cc113f764580c
BLAKE2b-256 1efeef12dcbb81ac7379fb9bb229ea82bd640129770aff773cbded1126a00703

See more details on using hashes here.

File details

Details for the file normtransform-0.2.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for normtransform-0.2.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1197956f50876c1a0acdd130c7ac10f4ddee45bde534dde5b90a1c671c161c62
MD5 ae3a751a8f84554e4c20728bbc9bc8b1
BLAKE2b-256 844e4cc393be4e70a708e95eae6c62969b12cf5ea694142677a910dcc48435a0

See more details on using hashes here.

File details

Details for the file normtransform-0.2.0-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for normtransform-0.2.0-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 19d363d3009e869cec1df52473117426cef4ab79efcc8144eee6a944cb53bf5e
MD5 c249a37830f9f84c1531c361a1af4735
BLAKE2b-256 3b7564393739c71a3de62a43579c77df36dc7daa653f5baf9a7a2e5b021c0831

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