lambda-or 0.0.12__tar.gz → 0.0.13__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lambda_or
3
- Version: 0.0.12
3
+ Version: 0.0.13
4
4
  Summary: Lambda Odds Ratio
5
5
  Home-page: https://github.com/zeroknowledgediscovery/lambda_or
6
- Download-URL: https://github.com/zeroknowledgediscovery/lambda_or/archive/0.0.12.tar.gz
6
+ Download-URL: https://github.com/zeroknowledgediscovery/lambda_or/archive/0.0.13.tar.gz
7
7
  Author: Ishanu Chattopadhyay
8
8
  Author-email: zeroknowledgediscovery@gmail.com
9
9
  License: LICENSE
@@ -41,12 +41,13 @@ Lambda-OR
41
41
  .. code-block::
42
42
 
43
43
  from lambda_or import lambda_or, pq_from_two_gates
44
-
44
+ from lambda_or import lambda_or, neglog10_p_from_z
45
45
  tilde = np.array([[100, 50],[ 80, 70]], dtype=float)
46
- # Suppose selection-conditional rates from two-gate ROC:
47
- p_sel, q_sel = 0.92, 0.90
48
- res = lambda_or(tilde, p_sel, q_sel, n_val=2000)
49
-
50
- print(res.log_or, res.neglog10_p, res.z, res.se)
51
- print(res.counts) # corrected a,b,c,d
52
46
 
47
+ # lambda-OR
48
+ res = lambda_or(
49
+ tilde_counts=tilde,
50
+ p_sel=0.92,
51
+ q_sel=0.88,
52
+ n_val=1000
53
+ )
@@ -19,12 +19,13 @@ Lambda-OR
19
19
  .. code-block::
20
20
 
21
21
  from lambda_or import lambda_or, pq_from_two_gates
22
-
22
+ from lambda_or import lambda_or, neglog10_p_from_z
23
23
  tilde = np.array([[100, 50],[ 80, 70]], dtype=float)
24
- # Suppose selection-conditional rates from two-gate ROC:
25
- p_sel, q_sel = 0.92, 0.90
26
- res = lambda_or(tilde, p_sel, q_sel, n_val=2000)
27
-
28
- print(res.log_or, res.neglog10_p, res.z, res.se)
29
- print(res.counts) # corrected a,b,c,d
30
24
 
25
+ # lambda-OR
26
+ res = lambda_or(
27
+ tilde_counts=tilde,
28
+ p_sel=0.92,
29
+ q_sel=0.88,
30
+ n_val=1000
31
+ )
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lambda-or
3
- Version: 0.0.12
3
+ Version: 0.0.13
4
4
  Summary: Lambda Odds Ratio
5
5
  Home-page: https://github.com/zeroknowledgediscovery/lambda_or
6
- Download-URL: https://github.com/zeroknowledgediscovery/lambda_or/archive/0.0.12.tar.gz
6
+ Download-URL: https://github.com/zeroknowledgediscovery/lambda_or/archive/0.0.13.tar.gz
7
7
  Author: Ishanu Chattopadhyay
8
8
  Author-email: zeroknowledgediscovery@gmail.com
9
9
  License: LICENSE
@@ -41,12 +41,13 @@ Lambda-OR
41
41
  .. code-block::
42
42
 
43
43
  from lambda_or import lambda_or, pq_from_two_gates
44
-
44
+ from lambda_or import lambda_or, neglog10_p_from_z
45
45
  tilde = np.array([[100, 50],[ 80, 70]], dtype=float)
46
- # Suppose selection-conditional rates from two-gate ROC:
47
- p_sel, q_sel = 0.92, 0.90
48
- res = lambda_or(tilde, p_sel, q_sel, n_val=2000)
49
-
50
- print(res.log_or, res.neglog10_p, res.z, res.se)
51
- print(res.counts) # corrected a,b,c,d
52
46
 
47
+ # lambda-OR
48
+ res = lambda_or(
49
+ tilde_counts=tilde,
50
+ p_sel=0.92,
51
+ q_sel=0.88,
52
+ n_val=1000
53
+ )
@@ -0,0 +1 @@
1
+ __version__ = '0.0.13'
@@ -1 +0,0 @@
1
- __version__ = '0.0.12'
File without changes
File without changes
File without changes
File without changes