Custom data science utilities for model evaluation and data preparation
Project description
Shash Package
A custom Python package for data analysis, preparation, and model evaluation.
Features
-
Data preparation & EDA
datacheck: Checks for missing/null values and duplicate rows in a DataFrame.dataeda: Provides basic exploration of a DataFrame, includinghead,shape,info, and descriptive statistics (describe).
-
Model evaluation
evaluate_model: Computes key evaluation metrics for classification models, including accuracy, precision, recall, F1-score, confusion matrix, Classification report and ROC AUC score.
Installation
Install from PyPI:
pip install shash
## Usage
```python
from shash.dataprep import datacheck, dataeda
from shash.evaluation import evaluate_model
# Example usage
datacheck(df) # Check for missing values and duplicates
dataeda(df) # Explore the dataset: head, shape, info, describe
evaluate_model(y_val, y_pred_val, y_proba_val, dataset_name="Validation Set") # Evaluate model performance: accuracy, precision, recall, F1-score, confusion matrix
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
shash-0.1.1.tar.gz
(3.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
shash-0.1.1-py3-none-any.whl
(4.2 kB
view details)
File details
Details for the file shash-0.1.1.tar.gz.
File metadata
- Download URL: shash-0.1.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.11.4 Darwin/24.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a65c84b9118c70940225196513bbcdcb625c54b89d0d89a31208ca5cd30c22d7
|
|
| MD5 |
defea73c89e4075f0d4188f539a520b2
|
|
| BLAKE2b-256 |
af65c53bbdb98907cff09c28db8757a535083ee49c50adf8beedc353d7d058bc
|
File details
Details for the file shash-0.1.1-py3-none-any.whl.
File metadata
- Download URL: shash-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.11.4 Darwin/24.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
615783038d956269f758345ab9463cf749cb0d717cbfaa0015c1cc5835c06d99
|
|
| MD5 |
4bad5b1a92b6c2ebbfba1d0b8ac871ce
|
|
| BLAKE2b-256 |
69a93850475e8f1c9f16f9dbadffa2ef5a5d48b19a4347cd2737ae79e07624ec
|