Utility functions to be used in Python
Project description
bae0n_utils
Collection of utility functions to be used in Python.
ClearDir
ex: ClearDir('./images')
Removes all files from a directory.
params:
- path - The source directory of the images to turn into a gif. Must include preceding ./, should not include ending /
MakeGif
ex: MakeGif('./data', './', 'test', 100, 'jpg')
Turns a directory of images into a gif.
params:
- source_dir - The source directory of the images to turn into a gif. Must include preceding ./
- out_dir - The directory to save the gif to. Must include preceding ./
- gif_name - The name of the gif. Do not include filetype.
- duration - Number of frames in the gif...I think.
- file_type - File extension for the images. Do not include preceding .
CorrMatrixAnalysis
Displays in depth analysis of the correlation between features. Currently only addresses correlation of dependent feature to independent features, but will be updated soon.
params:
- df - The dataframe to analyze.
- dep_feature - The dependent feature.
example call:
df = pd.read_csv('Iris.csv')
CorrMatrixAnalysis(df, 'species')
Example output
Features With High Correlation to diagnosis: -0.79 - concave points_worst -0.78 - perimeter_worst -0.78 - concave points_mean -0.78 - radius_worst -0.74 - perimeter_mean -0.73 - area_worst -0.73 - radius_mean -0.71 - area_mean
Features With Moderate Correlation to diagnosis:
-0.70 - concavity_mean
-0.66 - concavity_worst
-0.60 - compactness_mean
-0.59 - compactness_worst
-0.57 - radius_se
-0.56 - perimeter_se
-0.55 - area_se
Features With No Correlation to diagnosis:
-0.29 - compactness_se
-0.25 - concavity_se
-0.08 - fractal_dimension_se
0.07 - smoothness_se
-0.04 - id
0.01 - fractal_dimension_mean
0.01 - texture_se
0.01 - symmetry_se
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bae0n-utils-0.0.12.tar.gz.
File metadata
- Download URL: bae0n-utils-0.0.12.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61d0bd986aa1adfa7d70bcf0c767cb876c204745103ff5f68a0496b70e61457a
|
|
| MD5 |
2c8b68ba59fde7eb6187731bbf52d5a9
|
|
| BLAKE2b-256 |
02a21406b1372c87123a857892bdc5af15d180c3f28234d87a7aeeeb23553dd7
|
File details
Details for the file bae0n_utils-0.0.12-py3-none-any.whl.
File metadata
- Download URL: bae0n_utils-0.0.12-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56537b151231b79699e523f66a529021ce201a26757cc03283a94505984ea22b
|
|
| MD5 |
f9bee56394fdcf6acae30c3bcb7625a9
|
|
| BLAKE2b-256 |
fe96b4e55705aa115d8c9c5cd91c88136d522bc220247bc75b337e024649ab75
|