Skip to main content

Lambda Odds Ratio

Project description

https://zenodo.org/badge/1063683292.svg
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.9.tar.gz (5.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: lambda_or-0.0.9.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.12.7

File hashes

Hashes for lambda_or-0.0.9.tar.gz
Algorithm Hash digest
SHA256 048901148bf59b8a694e1e3d3a40d974d7fd41dcc154fedf0c43c58b46f5a852
MD5 2a380b9fd46d81a3d824d0acd3c22acb
BLAKE2b-256 c635e91157ab523084ee2c8bb0c0568e00eb0b11276de8f47ea7a8a7d88eb3a4

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