kaggle-metrics 
Metrics for Kaggle competitions.
See wiki: Implemented metrics
Installation
python3.7 -m pip install git+https://github.com/krzjoa/kaggle-metrics.git
or:
python3.7 -m pip install kaggle_metrics
Usage
from xgboost import XGBRegressor
import kaggle_metrics as km
X_train, y_train, X_test, y_test = get_data()
# Train
clf = XGBRegressor()
clf.fit(X_train, y_train)
# Get predictions
y_pred = clf.predict(X_test)
# Evaluate with kaggle-metrics
km.rmse(y_test, y_pred)
Documentation
The full documentation is at http://kaggle-metrics.rtfd.org.
Metadata
Release files for kaggle-metrics 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| kaggle-metrics-0.3.1.tar.gz | 5.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kaggle_metrics-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.9 kB
Release files / kaggle-metrics-0.3.1.tar.gz
| Download URL | kaggle-metrics-0.3.1.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae589907da9b7fbe135ed5a6937abfc982632f9c3871bd9fd4bb8776cdbed7bb
|
|
BLAKE2b-256 checksum How to use checksums |
45b548c00cd34774e568cc67ea6a61630c434095030b9f7af7cadbc92599fc04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Release files / kaggle_metrics-0.3.1-py3-none-any.whl
| Download URL | kaggle_metrics-0.3.1-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b38ec59102429f1d14cefc87fa7468cbcbbdce3d1ed4e6458c0f4f1d3fafde86
|
|
BLAKE2b-256 checksum How to use checksums |
98bd8e8fc7bfd62a9fe979c611fdbaae77320027d6b88a8ecd3c0ddde5f3326b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Security for kaggle-metrics 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.