Skip to main content

Analysis tools for Machine learning projects

Project description

Analysis tools for machine learning projects

1. Usage

$ pip install analysis-tools

2. Tutorial

examples/titanic/eda.ipynb를 참고

from analysis_tools import eda, metrics

data   = pd.DataFrame(..)
target = 'survived'

num_features       = ['age', 'sibsp', 'parch', 'fare']
cat_features       = data.columns.drop(num_features)
data[num_features] = data[num_features].astype('float32')
data[cat_features] = data[cat_features].astype('string')

eda.plot_missing_value(data)
eda.plot_features(data)
eda.plot_features_target(data, target)
eda.plot_corr(data.corr())
metrics.get_feature_importance(data, target)

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

Uploaded Source

Built Distribution

analysis_tools-0.3.2-py3-none-any.whl (19.0 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