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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kaggle-metrics-0.3.1.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kaggle_metrics-0.3.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file kaggle-metrics-0.3.1.tar.gz.

File metadata

  • Download URL: kaggle-metrics-0.3.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for kaggle-metrics-0.3.1.tar.gz
Algorithm Hash digest
SHA256 ae589907da9b7fbe135ed5a6937abfc982632f9c3871bd9fd4bb8776cdbed7bb
MD5 dead583041cf1f7d87e39b4dbe427e0c
BLAKE2b-256 45b548c00cd34774e568cc67ea6a61630c434095030b9f7af7cadbc92599fc04

See more details on using hashes here.

File details

Details for the file kaggle_metrics-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: kaggle_metrics-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for kaggle_metrics-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b38ec59102429f1d14cefc87fa7468cbcbbdce3d1ed4e6458c0f4f1d3fafde86
MD5 3e6900ad44b83b643cb116deb17e74d0
BLAKE2b-256 98bd8e8fc7bfd62a9fe979c611fdbaae77320027d6b88a8ecd3c0ddde5f3326b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 files

0.3.0

2 files

0.2.0

2 files

0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page