A small package for all useful ML things
Project description
Kowalsky, analysis!
A simple package for handful ML things and more.
What's inside?
-
analysis- method for evaluation of specified model with given dataframe. Withexport_test_set=Falseit exports ready for submission predictions. -
df - working with dataframe:
corr- sort all correlated features.handle_outliers- fill or drop columns with outliers.log_transform- transform columns with log function.group_by_mean- make additional columns with aggregated meangroup_by_max- make additional columns with aggregated maxgroup_by_min- make additional columns with aggregated minscale- scale columns with Standard of MinMax scalers
-
kag:
submit- make submit-file for kaggle based on sample
-
metrics:
rmse- RMSE scorerrmsle- RMSLE scorer
-
opt - handful methods for working with optuna:
optimize- optimize model with given dataframe
Example:
!pip install kowalsky --upgrade
from kowalsky.opt import optimize
optimize('RFR',
path='../input/project/feed.csv',
scorer='acc',
y_label='y_label',
trials=3000)
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
kowalsky-0.0.4.tar.gz
(3.6 kB
view details)
File details
Details for the file kowalsky-0.0.4.tar.gz.
File metadata
- Download URL: kowalsky-0.0.4.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22755b61ba6db1993eb2b83a9bb8ca786d782ed235251d17c7ec668d5faddec4
|
|
| MD5 |
d85479388bf0b25c45063c82f4a0008d
|
|
| BLAKE2b-256 |
b3e6be7ef0c00076e5e622ba92f84755f9676571c48f75a79edcc2c75a4ff6a5
|