Skip to main content

kaggle-metrics

Python 3.7 PyPI version Documentation Status License: MIT

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.

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)

Source distribution for kaggle-metrics 0.3.1
File Size Uploaded
kaggle-metrics-0.3.1.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kaggle-metrics 0.3.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page