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_corr(data)
plot_features_target(data, target)
자세한 내용은 examples/1_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.0.tar.gz
(8.6 kB
view hashes)
Built Distribution
Close
Hashes for analysis_tools-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 033380c9c08f062676d6998f73001b1dd95356f2d521ab7f4418320b925e4b37 |
|
MD5 | 3910a28f139a657ff8cfcf743ea81f26 |
|
BLAKE2b-256 | 5637d6c437a967cb97dba0d0e840a808b17875bbd70ce22e2f9b77ed3b3a6892 |