A professional machine learning and data science toolkit
Project description
๐ Mostafa Toolkit
A Comprehensive Python Toolkit for Machine Learning & Data Science
A powerful, beginner-friendly, and production-ready toolkit that simplifies the entire Machine Learning workflow.
โจ Features
Mostafa Toolkit provides a unified API for common Machine Learning tasks.
๐ Exploratory Data Analysis (EDA)
- Statistical dataset analysis
- Missing value inspection
- Duplicate detection
- Data type analysis
- Cardinality analysis
- Numerical summaries
๐ Visualization
- Distribution plots
- Boxplots (Outlier Detection)
- Categorical plots
- Correlation Heatmaps
- Target Distribution
- Deep Learning Learning Curves
๐ค Machine Learning Evaluation
Classification
- Accuracy
- Precision
- Recall
- F1 Score
- Confusion Matrix
- ROC Curve
Regression
- MAE
- RMSE
- MSE
- Rยฒ Score
โก Model Optimization
- Baseline model benchmarking
- Custom Random Search
- Feature Importance
- Hyperparameter Optimization
๐ Deployment
- Export trained models
- Save preprocessing pipelines
- Deployment-ready assets
๐งฐ Utilities
- Memory optimization
- Helper utilities
- Deep Learning callbacks
๐ฆ Installation
Clone the repository
git clone https://github.com/YOUR_USERNAME/mostafa_toolkit.git
Go to the project
cd mostafa_toolkit
Install
pip install -e .
โก Quick Start
from mostafa_toolkit import *
# Load dataset
df = pd.read_csv("house_prices.csv")
# EDA
statistical_analysis(df)
# Visualization
plot_correlation(df)
# Create model
model = RandomForestRegressor()
๐ Project Structure
mostafa_toolkit/
โ
โโโ README.md
โโโ LICENSE
โโโ pyproject.toml
โโโ requirements.txt
โ
โโโ docs/
โ
โโโ examples/
โ
โโโ tests/
โ
โโโ mostafa_toolkit/
โโโ __init__.py
โโโ imports.py
โโโ constants.py
โโโ config.py
โโโ eda.py
โโโ visualization.py
โโโ evaluation.py
โโโ optimization.py
โโโ deployment.py
โโโ callbacks.py
โโโ utils.py
๐ Modules
| Module | Description |
|---|---|
eda.py |
Exploratory Data Analysis |
visualization.py |
Data Visualization |
evaluation.py |
Model Evaluation |
optimization.py |
Hyperparameter Optimization |
deployment.py |
Export Models |
callbacks.py |
Deep Learning Callbacks |
utils.py |
Utility Functions |
imports.py |
Frequently Used Libraries |
constants.py |
Shared Constants |
config.py |
Global Configuration |
๐ฅ Included Libraries
Mostafa Toolkit already exposes commonly used libraries.
from mostafa_toolkit import *
Includes
- pandas
- numpy
- matplotlib
- seaborn
Machine Learning Models
- LinearRegression
- LogisticRegression
- DecisionTree
- RandomForest
- GradientBoosting
- KNN
- SVM
- XGBoost
No additional imports required.
๐ฏ Typical Workflow
Load Dataset
โ
โผ
EDA
โ
โผ
Visualization
โ
โผ
Preprocessing
โ
โผ
Training
โ
โผ
Evaluation
โ
โผ
Optimization
โ
โผ
Deployment
๐ Documentation
Detailed documentation is available in
- USER_GUIDE.md
- API_REFERENCE.md
๐ค Contributing
Contributions are welcome.
Feel free to open Issues or Pull Requests.
๐ License
This project is licensed under the MIT License.
๐จโ๐ป Author
Mostafa Ali
Computer Science & Artificial Intelligence Student
Machine Learning Engineer
GitHub:
https://github.com/Mostafaali10
LinkedIn:
https://www.linkedin.com/in/mostafa-ali10/
โญ If you find this project useful, don't forget to Star the repository.
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
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 mostafa_toolkit-0.1.0.tar.gz.
File metadata
- Download URL: mostafa_toolkit-0.1.0.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02e75cd94be1b630bf7af0cdc8316ba253f23ffeabef86533afe33c23880dce9
|
|
| MD5 |
0d4c27beb4bdb7fe74c0db80374801e7
|
|
| BLAKE2b-256 |
880167a7045e9b0abaad1ad7cbab866a37d04d498ddabec6ebcc89b823919056
|
File details
Details for the file mostafa_toolkit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mostafa_toolkit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
268a4736869c3d34f78b74fa7d023810c01b154b414b361cd5bcfb05eeb8744d
|
|
| MD5 |
a2bb17aec778ab314f327b9b73b82f11
|
|
| BLAKE2b-256 |
6e3c647f5c14294f15296e522528011bcf0a5a7c0dda170ce4be7adc7ce522e0
|