Custom Metrics for fastai v1 for kaggle competitions
Project description
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] );
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
File details
Details for the file kaggle_fastai_custom_metrics-1.0.2.tar.gz
.
File metadata
- Download URL: kaggle_fastai_custom_metrics-1.0.2.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3d3d95babe383671dad7f0f6784a4e6ada1850ebdbac08ec91606761736c73a |
|
MD5 | a39d4b06a407a5a1c405c4fb21ec7bd4 |
|
BLAKE2b-256 | e3949adab04a328c8d4d0c084c5988f7a08be0cfdecb3531fc977541c0ee4e2f |