Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alchemine/analysis-tools
Analysis tools for machine learning projects
https://github.com/alchemine/analysis-tools
data-analysis explanatory-data-analysis machine-learning python
Last synced: 27 days ago
JSON representation
Analysis tools for machine learning projects
- Host: GitHub
- URL: https://github.com/alchemine/analysis-tools
- Owner: alchemine
- Created: 2021-12-11T06:18:24.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-20T07:46:09.000Z (12 months ago)
- Last Synced: 2024-09-17T09:23:54.542Z (about 2 months ago)
- Topics: data-analysis, explanatory-data-analysis, machine-learning, python
- Language: Python
- Homepage: https://pypi.org/project/analysis-tools
- Size: 10.4 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Analysis tools for machine learning projects
## 1. Usage
```bash
$ pip install analysis-tools
```## 2. Tutorial
[examples/titanic/eda.ipynb](https://github.com/alchemine/analysis-tools/blob/main/examples/titanic/eda.ipynb)를 참고```python
from analysis_tools import eda, metricsdata = 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)
```![](https://github.com/alchemine/analysis-tools/blob/main/examples/titanic/visualization/Missing%20value_1.png?raw=true)
![](https://github.com/alchemine/analysis-tools/blob/main/examples/titanic/visualization/Features_1.png?raw=true)
![](https://github.com/alchemine/analysis-tools/blob/main/examples/titanic/visualization/Features%20vs%20Target_1.png?raw=true)
![](https://github.com/alchemine/analysis-tools/blob/main/examples/titanic/visualization/Correlation%20matrix_1.png?raw=true)
![](https://github.com/alchemine/analysis-tools/blob/main/examples/titanic/visualization/Feature%20importance_1.png?raw=true)