numerai-tools 0.6.0.dev0__tar.gz → 0.6.1.dev0__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.
- {numerai_tools-0.6.0.dev0 → numerai_tools-0.6.1.dev0}/PKG-INFO +26 -3
- {numerai_tools-0.6.0.dev0 → numerai_tools-0.6.1.dev0}/README.md +18 -1
- numerai_tools-0.6.1.dev0/numerai_tools/scoring.py +698 -0
- {numerai_tools-0.6.0.dev0 → numerai_tools-0.6.1.dev0}/numerai_tools/signals.py +13 -3
- {numerai_tools-0.6.0.dev0 → numerai_tools-0.6.1.dev0}/numerai_tools/submissions.py +1 -2
- {numerai_tools-0.6.0.dev0 → numerai_tools-0.6.1.dev0}/pyproject.toml +8 -3
- numerai_tools-0.6.0.dev0/numerai_tools/data.py +0 -133
- numerai_tools-0.6.0.dev0/numerai_tools/indexing.py +0 -106
- numerai_tools-0.6.0.dev0/numerai_tools/math.py +0 -263
- numerai_tools-0.6.0.dev0/numerai_tools/scoring.py +0 -290
- numerai_tools-0.6.0.dev0/numerai_tools/typing.py +0 -6
- {numerai_tools-0.6.0.dev0 → numerai_tools-0.6.1.dev0}/LICENSE +0 -0
- {numerai_tools-0.6.0.dev0 → numerai_tools-0.6.1.dev0}/numerai_tools/__init__.py +0 -0
- {numerai_tools-0.6.0.dev0 → numerai_tools-0.6.1.dev0}/numerai_tools/py.typed +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: numerai-tools
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.1.dev0
|
|
4
4
|
Summary: A collection of open-source tools to help interact with Numerai, model data, and automate submissions.
|
|
5
5
|
License: MIT
|
|
6
|
+
License-File: LICENSE
|
|
6
7
|
Author: Numerai Engineering
|
|
7
8
|
Author-email: engineering@numer.ai
|
|
8
9
|
Requires-Python: >=3.11
|
|
@@ -13,9 +14,13 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
13
14
|
Classifier: Operating System :: OS Independent
|
|
14
15
|
Classifier: Programming Language :: Python
|
|
15
16
|
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
16
21
|
Classifier: Topic :: Scientific/Engineering
|
|
17
22
|
Requires-Dist: numpy (>=2.0.0,<3.0.0)
|
|
18
|
-
Requires-Dist: pandas (>=2.2.2,<
|
|
23
|
+
Requires-Dist: pandas (>=2.2.2,<4.0.0)
|
|
19
24
|
Requires-Dist: scikit-learn (>=1.5.0,<2.0.0)
|
|
20
25
|
Requires-Dist: scipy (>=1.13.0,<2.0.0)
|
|
21
26
|
Project-URL: Documentation, https://docs.numer.ai/
|
|
@@ -38,3 +43,21 @@ pip install numerai-tools
|
|
|
38
43
|
- The `submissions.py` module provides helper functions to ensure your submissions are valid and formatted correctly. Use this in your automated prediction pipelines to ensure uploads don't fail.
|
|
39
44
|
|
|
40
45
|
- The `signals.py` module provides code specific to Numerai Signals such as churn and turnover. Use this to ensure your Signals submissions are properly formatted.
|
|
46
|
+
|
|
47
|
+
## Configurable neutralized weights
|
|
48
|
+
|
|
49
|
+
`generate_neutralized_weights`, `alpha`, and `meta_portfolio_contribution` accept
|
|
50
|
+
a `power` argument applied after ranking and gaussianization. The default is `1`.
|
|
51
|
+
Pass `power=1.5` when reproducing historical Alpha or MPC definitions:
|
|
52
|
+
|
|
53
|
+
```python
|
|
54
|
+
from numerai_tools.scoring import generate_neutralized_weights
|
|
55
|
+
|
|
56
|
+
weights = generate_neutralized_weights(
|
|
57
|
+
predictions,
|
|
58
|
+
neutralizers,
|
|
59
|
+
sample_weights,
|
|
60
|
+
power=1.5,
|
|
61
|
+
)
|
|
62
|
+
```
|
|
63
|
+
|
|
@@ -12,4 +12,21 @@ pip install numerai-tools
|
|
|
12
12
|
|
|
13
13
|
- The `submissions.py` module provides helper functions to ensure your submissions are valid and formatted correctly. Use this in your automated prediction pipelines to ensure uploads don't fail.
|
|
14
14
|
|
|
15
|
-
- The `signals.py` module provides code specific to Numerai Signals such as churn and turnover. Use this to ensure your Signals submissions are properly formatted.
|
|
15
|
+
- The `signals.py` module provides code specific to Numerai Signals such as churn and turnover. Use this to ensure your Signals submissions are properly formatted.
|
|
16
|
+
|
|
17
|
+
## Configurable neutralized weights
|
|
18
|
+
|
|
19
|
+
`generate_neutralized_weights`, `alpha`, and `meta_portfolio_contribution` accept
|
|
20
|
+
a `power` argument applied after ranking and gaussianization. The default is `1`.
|
|
21
|
+
Pass `power=1.5` when reproducing historical Alpha or MPC definitions:
|
|
22
|
+
|
|
23
|
+
```python
|
|
24
|
+
from numerai_tools.scoring import generate_neutralized_weights
|
|
25
|
+
|
|
26
|
+
weights = generate_neutralized_weights(
|
|
27
|
+
predictions,
|
|
28
|
+
neutralizers,
|
|
29
|
+
sample_weights,
|
|
30
|
+
power=1.5,
|
|
31
|
+
)
|
|
32
|
+
```
|