Python package to simplify the initial stages of model building and analysis for data science projects
Project description
PurnamaTools
PurnamaTools is a Python package designed to simplify data analysis and machine learning workflows, especially for beginners. It provides utilities for:
- Initial data inspection and validation
- Feature selection and correlation analysis
- Model evaluation for regression and classification
The package is intended to be continuously updated with new features and improvements.
Features
1. Initial Data Check
initial_data_overview(df, target=None, is_classification=True): Comprehensive overview of your dataset, including missing values, duplicates, outliers, low variance columns, and more.check_class_balance(df, target): Quickly check class imbalance and get recommendations for classification tasks.
2. Feature Selection
correlation_analysis(df, target, method='pearson'): Identify strong correlations and potential redundant features.mi_analysis(X, y): Select top features based on Mutual Information.batch_rfe_feature_selection(X, y): Scalable Recursive Feature Elimination for datasets with many features.sfs_feature_selection(X, y): Sequential Feature Selection (forward or backward) using any estimator.lasso_feature_selection(X, y): Feature selection using Lasso regression.
3. Model Evaluation
evaluate_model_regression(model, X_train, y_train, X_test, y_test, scoring): Evaluate regression models and get guidance for overfitting or underfitting.evaluate_model_classification(model, X_train, y_train, X_test, y_test, scoring): Evaluate classification models and get suggestions for handling class imbalance.
Installation
pip install purnamatools
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
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
File details
Details for the file purnamatools-0.2.3.tar.gz.
File metadata
- Download URL: purnamatools-0.2.3.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d1197f2eef304c63c49a1f476c61ce694600edf1e685d158633b1170b430b7c
|
|
| MD5 |
15f3ac22ce3a431c585ca8407541c924
|
|
| BLAKE2b-256 |
148a3eb857f063b96e6d8e518ac23e563847d8af8d76ab1d0b994359c5a76d2d
|
File details
Details for the file purnamatools-0.2.3-py3-none-any.whl.
File metadata
- Download URL: purnamatools-0.2.3-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f187b1f900c18618165a6fea8ab249a229c3516326c5241c8ae5ce386a7980b4
|
|
| MD5 |
6d0396bee41be499cd79e6277c024e88
|
|
| BLAKE2b-256 |
368cab543f9e7c3ff7677adccb6b952de892aea198ba6840560c45ec2f61cb5a
|