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

Uploaded Source

File details

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

File metadata

  • Download URL: lambda_or-0.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 214061d61a0fa5cc12f96d0f59439083741ade8567ebf6623b6cd260168a17b7
MD5 b3e8866784c07e31fd7cb1c03c90465a
BLAKE2b-256 06f7523d91f657490a4d91167bed8167318420c88b28137d0db680d405285cbe

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