Kowalsky, analysis!
A simple package for handful ML things and more.
What's new? [v0.0.39]
- add
featurepackage with two types of analysis + support для остальных функций- Recursive Feature Elimination
- Sequential Feature Selection
- improve optimize:
EarlyStoppingmechanism- optimization graph
- multitasks with
n_jobs=-1
- add
logspackage
What's inside?
-
analysis- method for evaluation of specified model with given dataframe. Withexport_test_set=Trueit exports ready for submission predictions. -
df - module for 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 minapply_with_progress- apply heavy function for each row of dataset.scale- scale columns with Standard of MinMax scalers
-
kaggle:
submit- make submit-file for kaggle based on sample
-
logs:
profile_memory- logs all heavy variablesmake_pretty_pyplot- makes pyplot look better :)
-
optuna - handful methods for working with optuna:
optimize- optimize model with given dataframeoptimize_super_learner- optimize super learner configuration with given set of models and set of heads (meta_model)
-
colab:
csv- read csv file located at Google Drive with specified idpath- get path to Google Drive file
-
feature:
rfe_analysis- Recursive Feature Elimination analysissfs_analysis- Sequential Feature Selection analysis
What's next?
- Use
optunafor searching the best feature amount - Add file logger to track the progress in
JupterLab
Example:
!pip install kowalsky --upgrade
from kowalsky.optuna import optimize
optimize('RFR',
path='../input/project/feed.csv',
scorer='acc',
y_label='y_label',
trials=3000)
Avaliable models:
Gradient Boosts
'xgbR': XGBRegressor
'xgbC': XGBClassifier
'lgbR': LGBMRegressor
'lgbC': LGBMClassifier
Trees
'rfR': RandomForestRegressor
'rfC': RandomForestClassifier
'dtR': DecisionTreeRegressor
'dtC': DecisionTreeClassifier
'etR': ExtraTreeRegressor
'etC': ExtraTreeClassifier
Ensemble
'baggC': BaggingClassifier
'baggR': BaggingRegressor
'adaR': AdaBoostRegressor
'adaC': AdaBoostClassifier
'cbR': CatBoostRegressor
'cbC': CatBoostClassifier
KNeighbors
'knC': KNeighborsClassifier
'knR': KNeighborsRegressor
SVM
'svR': SVR
'svC': SVC
Metadata
Release files for kowalsky 0.0.44
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kowalsky-0.0.44.tar.gz | 13.5 kB | Without provenance | Details for kowalsky-0.0.44.tar.gz |
Release files / kowalsky-0.0.44.tar.gz
| Download URL | kowalsky-0.0.44.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1524db9f76707b064d3b1dc95528c007e95a1dc594decfed22a0f66f926e86de
|
|
BLAKE2b-256 checksum How to use checksums |
b35e0e9893e1f0c127553183a5e69812f94304c42f9b537e8736c0c68640b154
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
|
Security for kowalsky 0.0.44
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.