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.10.tar.gz (5.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: lambda_or-0.0.10.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.10.tar.gz
Algorithm Hash digest
SHA256 92cc7ad1a82e04bf0390e2301e26043e2cae6df97af3d7ff73ed915936b94e92
MD5 0f6236f1bd121a36dea33f4b6673f8f4
BLAKE2b-256 7663c439926153d26267ecd1563d1aac4686ea867b610642c030433400c364aa

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