Package For Numerai users to check their models performance
Project description
Numetrics
Numetrics is a small package that has some functions regarding checking the performance of a model's predictions.
Version
- Github Release
v0.2.1 - PyPi Version
v0.2.1
Why did I create Numetrics?
- The first reason is: I want to contribute to the Numerai community. I have learned a lot from Arbitrage, JRB, Wigglemuse, Michael Oliver, the team, and everybody in the community.
- The second reason is: I was tired of copying and pasting my code throughout my notebooks, so I decided to create a package to make it easier for me to just install it through pip
How to install Numetrics?
You can install it with pip
pip install numetrics
import numetrics
How to use Numetrics?
You have one function called diagnose this is the main function that does all the magic.
It takes a dataframe of your prediction. Dataframe format should be same as the one you submit to Numerai. Prediction dataframe must have the following
- The id
- predicton column
you can just pass only the predicton dataframe
numetrics.diagnose(example_prediction)
or you can spicify the target name and the predicton name
numetrics.diagnose(preds_df,PREDICTION_NAME='prediction')
See the example file to learn how to use this package.
This is the first version/draft/attempt of the package. The code does not look pretty and it still missing lots of functionalities. However, I promise I will do my best to make it better ASAP.
Feel free to contribute to this package.
Change Log
0.0.1 (Nov/09/2020)
- First Release
0.0.2 (Nov/11/2020)
- Edited setup.py
0.0.3 (Nov/11/2020)
- Added Readme
0.0.4 (Nov/11/2020)
- Edited Readme
0.0.5 (Nov/13/2020)
- Added val data file
- Added beta_dignose function
0.1.0 (Nov/14/2020)
- Added data file and fixed the file path error
- Added beta_dignose function
0.2.0 (Nov/18/2020)
- Upgraded beta_dignose to diagnose and then deleted the old diagnose
- Changed data file
- Changed example prediction
0.2.1 (Nov/28/2020)
- Added the feature of calcualting diffrences between Vals
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file numetrics-0.2.1.tar.gz.
File metadata
- Download URL: numetrics-0.2.1.tar.gz
- Upload date:
- Size: 2.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3343eb37630014104bf5ed8b9937cbce13ad1b51f8222df8786563e21469ec93
|
|
| MD5 |
021e657acec803d5221a958a4a75e386
|
|
| BLAKE2b-256 |
0e70a61ca4ebcaa00f8926a92760df4e38a32cc4e2fc53b6a7005c2f1aa45b16
|
File details
Details for the file numetrics-0.2.1-py3-none-any.whl.
File metadata
- Download URL: numetrics-0.2.1-py3-none-any.whl
- Upload date:
- Size: 2.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fea7e9dc88720542f7837c6dd2b597f43763a98122a565b632f13d046255661e
|
|
| MD5 |
7c6a5fac4bc0102e239e8b1173f16eec
|
|
| BLAKE2b-256 |
258ed807ff58829d9283876a34bbad754fd952ced8c6858d9b2304d948e16162
|