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

Uploaded Source

File details

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

File metadata

  • Download URL: lambda_or-0.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 d85bfe32aba915cbc653eae0084dfdf386dc0a5089406d4c1ce8b8dc53209e3e
MD5 6f266cda28825836b5b0d7283ceb7257
BLAKE2b-256 b7411e34321c2973fbc1a28593ff562896819043a8f83ceea83732184b142a9f

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