Skip to main content

Lambda Odds Ratio

Project description

Info:

Draft link will be posted here

Author:

ZeD Lab <zed.createuky.net>

Description:

Robust Odds Ratio correcting label noise

Documentation:

Usage:

from lambda_or import lambda_or, pq_from_two_gates

tilde = np.array([[100, 50],[ 80, 70]], dtype=float)
# Suppose selection-conditional rates from two-gate ROC:
p_sel, q_sel = 0.92, 0.90
res = lambda_or(tilde, p_sel, q_sel, n_val=2000)

print(res.log_or, res.neglog10_p, res.z, res.se)
print(res.counts)   # corrected a,b,c,d

Project details


Download files

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

Source Distribution

lambda_or-0.0.2.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

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

lambda_or-0.0.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file lambda_or-0.0.2.tar.gz.

File metadata

  • Download URL: lambda_or-0.0.2.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.10.8

File hashes

Hashes for lambda_or-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a01b9d3382c3004cf54c1a21e41b0d003f87659da17e5b0f83c20aa8075de2c0
MD5 ce65d6573d7f048c343ecc8a421adfb9
BLAKE2b-256 b70229a4f74852a6c38f499f5ca77a2d417b65a73bddcb6f7d2f2e82becf6f94

See more details on using hashes here.

File details

Details for the file lambda_or-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: lambda_or-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.10.8

File hashes

Hashes for lambda_or-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 88b86a9c74bb31073c9cafb9d81f8adf18318dc87884c1c009087f404a2d0b44
MD5 205a73b28c7dbaee74478f162a62d202
BLAKE2b-256 20d485457ad188ab713a704cbc4f152faae137489767503695341cdc9d4b3ed7

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