A package used in DNN trainning in ATLAS analysis
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cuda_guass_normal-1.13.tar.gz.
File metadata
- Download URL: cuda_guass_normal-1.13.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc7ae3e234b02194d26cf99d0bfce74b3ca83a9107d982ddd62f80b1c63b6a43
|
|
| MD5 |
6df7586816e23477d7351b4c211cbccf
|
|
| BLAKE2b-256 |
bca09cd5883f14f949a0a8d2103d8ae811af0b41de3e54501de22f7c720cf32b
|
File details
Details for the file cuda_guass_normal-1.13-py3-none-any.whl.
File metadata
- Download URL: cuda_guass_normal-1.13-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bf6b5b1af2a25363fc0de1b3ac4cedede59e0dd840796abd6befde81f425437
|
|
| MD5 |
17e2bb26b882b588814def84b5035023
|
|
| BLAKE2b-256 |
32bc0f0acb2a2da6a13341fc2db1a1b01b631b4ed68af3f8b0543e188853ff24
|