Analysis tools for machine learning projects
Project description
Analysis tools for Machine learning projects
1. Install
$ pip install analysis-tools
2. Tutorial
from analysis_tools.common import *
from analysis_tools.eda import *
from sklearn.datasets import fetch_openml
data = fetch_openml('titanic', version=1, as_frame=True, data_home='.')
target = 'survived'
num_features = ['age', 'sibsp', 'parch', 'fare']
cat_features = data.columns.drop(num_features)
data[num_features] = data[num_features].astype(np.float32)
data[cat_features] = data[cat_features].astype('category')
plot_missing_value(data)
plot_features(data)
plot_features_target(data, target)
plot_corr(data.corr())
자세한 내용은 examples/titanic/main.ipynb 를 참고
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
analysis-tools-0.1.1.tar.gz
(8.6 kB
view hashes)
Built Distribution
Close
Hashes for analysis_tools-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 701286495a3b6024ec8df785626fbd721f35241dcdc06a495ef641c7eba5e45f |
|
MD5 | 5e9f750ad0d26a3f0ef11c8435518e86 |
|
BLAKE2b-256 | dd427944d154ac51d02d3b7037988dc57465eff9d1134f3dae777a522efab6c7 |