Skip to main content

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, n_cols=3)
plot_corr(data)
plot_features_target(data, target)

자세한 내용은 examples/1_titanic/main.ipynb를 참고

Project details


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.0.4.tar.gz (8.5 kB view hashes)

Uploaded Source

Built Distribution

analysis_tools-0.0.4-py3-none-any.whl (10.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page