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

Uploaded Source

File details

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

File metadata

  • Download URL: lambda_or-0.0.4.tar.gz
  • Upload date:
  • Size: 5.6 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.4.tar.gz
Algorithm Hash digest
SHA256 9c6f10633bf924463e8aafc18cf03fe209fde26fb2ba6837b82e54b089b2b32c
MD5 b5658f2e4d4e2be4b81333169ef0fe1d
BLAKE2b-256 e1495e750d100fa6ac0c467fec437a3269f9f8263ecd69da0bad160bd366877a

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