Analysis tools for machine learning projects
Project description
데이터 분석 및 시각화 도구
1. Usage
1.1 Install
$ pip install analysis-tools
1.2 Example code
from analysis_tools.EDA.EDA import *
data_train = pd.read_csv(join(PATH.INPUT, 'train.csv'))
data_test = pd.read_csv(join(PATH.INPUT, 'test.csv'))
data = pd.concat([data_train, data_test])
data.set_index('PassengerId', inplace=True)
target_feature = 'Survived'
X, y = data.drop(columns=target_feature), data[target_feature]
eda = EDA(data, target=target_feature, save_path=PATH.RESULT)
ordinal_features = ['Pclass', 'SibSp', 'Parch']
nominal_features = ['Survived', 'Name', 'Sex', 'Ticket', 'Cabin', 'Embarked']
eda.set_types(ord=ordinal_features, nom=nominal_features)
eda.run()
자세한 내용은 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.0.3.tar.gz
(8.0 kB
view hashes)
Built Distribution
Close
Hashes for analysis_tools-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98120bf61d4c76f4c8f6ae2d2e6ebf6a449fbe1b66127381cb7d9d56370f7063 |
|
MD5 | ce6f1741ef692b63f3472d08f7894b60 |
|
BLAKE2b-256 | 61a0972bdd1e5f406c715ebef3c499dbe43aab6ed124da3e7f494d78b669339f |