Skip to main content

kaggle fastai custom metrics


Custom Metrics for fastai v1 for kaggle competitions.


Disclaimer :

Each Kaggle competition has a unique metrics suited to its, need this package lets you download those custom metrics to be used with fastai library. Since Metrics are an important part to evaulate your models performance.

Installation

pip install kaggle-fastai-custom-metrics==1.0.2

or

git clone https://github.com/shadab4150/kaggle_fastai_custom_metrics
cd kaggle_fastai_custom_metrics
pip install .

Usage :

from kaggle_fastai_custom_metrics.kfcm import *
print_all_metrics()
Competition URL Metric
https://www.kaggle.com/c/plant-pathology-2020-fgvc7 column_mean_logloss
https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge column_mean_aucroc
https://www.kaggle.com/c/trends-assessment-prediction weighted_mae
https://www.kaggle.com/c/alaska2-image-steganalysis alaska_weighted_auc
https://www.kaggle.com/c/google-quest-challenge AvgSpearman
https://www.kaggle.com/c/landmark-recognition-2020 GAP_vector
metric = weighted_auc();
learn = Learner(data, arch, metrics= [metric] );

Metadata

Release files for kaggle-fastai-custom-metrics 1.0.2

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-fastai-custom-metrics 1.0.2
File Size Uploaded Provenance Actions
kaggle_fastai_custom_metrics-1.0.2.tar.gz 5.4 kB Without provenance Details for kaggle_fastai_custom_metrics-1.0.2.tar.gz

Release files / kaggle_fastai_custom_metrics-1.0.2.tar.gz

Download URL kaggle_fastai_custom_metrics-1.0.2.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e3d3d95babe383671dad7f0f6784a4e6ada1850ebdbac08ec91606761736c73a
BLAKE2b-256 checksum
How to use checksums
e3949adab04a328c8d4d0c084c5988f7a08be0cfdecb3531fc977541c0ee4e2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

Security for kaggle-fastai-custom-metrics 1.0.2

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.

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file No provenance

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