Skip to main content

Python package use cuda to normalize input variables using cuda package in ATLAS analysis

Function use to do Guassian Normalization: Mean: $$\mu_{i}=\frac{\sum x_{i}\times w_{i}}{\sum w_{i}}$$ Variance: $$\sigma_{i}=\frac{\sum (x_{i}-\mu_{i})^{2}\times w_{i}}{\frac{N-1}{N}\times\sum w_{i}}$$ Normalized input feature: $$\bar{x_{i}}=\frac{x_{i}-\mu_{i}}{\sigma_{i}}$$

Main function: guass_normal((1),(2),(3))

Input:

(1):Numpy array contain all input features you want to normalize. (2):Numpy array used to calculate each feature's mean and variance. (3):1-d Numpy array contains each events weight in (2)

(1) and (2) must have the same number of columns.

cuda_cut((1),(2),(3)): Used to calculate event yield after applying DNN cut.

Input: (1): 1-d numpy array include the variable you want to cut. (2): 1-d numpy array include event weight. (3): cut threshold

Release files for cuda-guass-normal 1.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cuda-guass-normal 1.13
File Size Uploaded
cuda_guass_normal-1.13.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cuda-guass-normal 1.13
File Interpreter ABI Platform
cuda_guass_normal-1.13-py3-none-any.whl Python 3 none any Details

Total release size:10.4 kB

Release files / cuda_guass_normal-1.13.tar.gz

Download URL cuda_guass_normal-1.13.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
dc7ae3e234b02194d26cf99d0bfce74b3ca83a9107d982ddd62f80b1c63b6a43
BLAKE2b-256 checksum
How to use checksums
bca09cd5883f14f949a0a8d2103d8ae811af0b41de3e54501de22f7c720cf32b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / cuda_guass_normal-1.13-py3-none-any.whl

Download URL cuda_guass_normal-1.13-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4bf6b5b1af2a25363fc0de1b3ac4cedede59e0dd840796abd6befde81f425437
BLAKE2b-256 checksum
How to use checksums
32bc0f0acb2a2da6a13341fc2db1a1b01b631b4ed68af3f8b0543e188853ff24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release history Release notifications | RSS feed

This release

1.13 This release

2 release files

1.12

2 release files

1.11

2 release files

1.10

2 release files

1.9

2 release files

1.8

2 release files

1.7

2 release files

1.6

2 release files

1.5

2 release files

1.4

2 release files

1.3

2 release files

1.2

2 release files

1.1

2 release files

1.0

2 release files

0.9

2 release files

0.8

2 release files

0.7

2 release files

0.6

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

0.2

1 release file

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page