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.3.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.3-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lambda_or-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 1d579015f1c9978ab68e91baf4480108534d6ac75be214856f2767871e49df16
MD5 9d0ec07f33e235ac74fa366d932ebada
BLAKE2b-256 838b56c4c9199f57984afee838e85301f43631753023eb035eb4c4f4bc07edd4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lambda_or-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 12393a3d8dfd94496f2d6081859fb801e74eb3228da538cd2765910b4e5eab1c
MD5 226ae4a317a2c139484447f10c397e11
BLAKE2b-256 e452eec8cfab17cbdabad4e489c44a3a74b95a4513dd8faca576ef5a6e847deb

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