ml_express
A Python library for day to day data analysis and machine learning. This aims to make data building, cleaning and machine learning much much faster.
Installation
pip install ml-express
Usage
import ml_express as mlx
from ml_express import eda
# this will create an html report and report will be saved in report folder in working directory
eda.create_summary_report(df)
# generate summary statistics of data type and categorical vars
eda.gen_eda(df)
# using correlation modules
# correlation for categorical vars
dfcramers = correlation.get_corr_df_cat(cat_cols,train_df_new)
# Draw the heatmap using seaborn
f, ax = plt.subplots(figsize=(12, 6))
sns.heatmap(dfcramers, annot=True, fmt='.2f',cmap='coolwarm',vmin=0 )
plt.title("Important Catg variables correlation map", fontsize=15)
plt.show()
# correlation for categorical and continuous vars
dfcramers = correlation.get_corr_df_cat_cont(cat_cols ,num_cols ,train_df_new)
# Draw the heatmap using seaborn
f, ax = plt.subplots(figsize=(12, 6))
sns.heatmap(dfcramers, annot=True, fmt='.2f',cmap='coolwarm',vmin=0,vmax = 1 )
plt.title("Important Catg vs Cont variables correlation map", fontsize=15)
plt.show()
Preprocessing
Contributing
Contributions are very welcome. Please feel free to submit PR.
License
Distributed under the terms of the MIT license, "ml-express" is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
Metadata
Release files for ml-express 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ml_express-0.1.7.tar.gz | 18.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ml_express-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.9 kB
Release files / ml_express-0.1.7.tar.gz
| Download URL | ml_express-0.1.7.tar.gz |
|---|---|
| Size | 18.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e896733a2f34be41eced4b4f64801f2e8d92ced11bd7eb8722da1a7f7fb5e2c0
|
|
BLAKE2b-256 checksum How to use checksums |
b694f20dfeedeaf75057c66b5f7937eff50a66b4450cc01e1be588cf13841fec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.13
|
Release files / ml_express-0.1.7-py3-none-any.whl
| Download URL | ml_express-0.1.7-py3-none-any.whl |
|---|---|
| Size | 19.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0179220bd96a67aef07ed72fc960e638c0c2fa427ec102847a4f985fb8c3b169
|
|
BLAKE2b-256 checksum How to use checksums |
07b3a18d4ef524e69bb8cb8d074acf7e02ef3b147885cb606cda2c4f50671ffd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.13
|