Skip to main content

🚀 Binary Classification Pipeline

End-to-end ML pipeline with feature engineering & ensemble methods

Python Scikit-learn License Version


Install Stars


"One line to install. One class to classify."


📦 Installation

pip install git+https://github.com/mazyad-alrashidi/binary-classification-pipeline.git

⚡ Usage

Step Code Result
① Import from bcpipeline import BinaryClassifier ✅ Ready
② Initialize clf = BinaryClassifier() ✅ Configured
③ Train clf.fit(X, y) 🏆 Best model selected
④ Predict clf.predict(X_new) 🎯 Predictions ready
⑤ Evaluate clf.evaluate() 📊 Full metrics

💎 Features

🔧 Feature Engineering Interaction · Ratio · Squared
🤖 Multi-Model Comparison LR · SVM · RF · GBM
⚙️ Hyperparameter Tuning Grid Search + 5-fold CV
🎯 Ensemble Voting Soft voting top 3 models
📈 Threshold Optimization Optimal decision boundary

📊 Performance

Model Accuracy Status
Logistic Regression ~95% 🟡 Good
SVM (RBF) ~90% 🟡 Moderate
Random Forest ~100% 🟢 Excellent
Gradient Boosting ~100% 🟢 Excellent
Ensemble 100% 🌟 Outstanding

🛠️ Tech Stack

Category Tools
Language
ML Framework
Data Processing
Visualization


Made with ❤️ by Mazyad Alrashidi

🇸🇦 Riyadh, Saudi Arabia


⭐ If you find this useful, give it a star!

Metadata

Release files for bcpipeline 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bcpipeline 0.1.0
File Size Uploaded
bcpipeline-0.1.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bcpipeline 0.1.0
File Interpreter ABI Platform
bcpipeline-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / bcpipeline-0.1.0.tar.gz

Download URL bcpipeline-0.1.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cbc3b9ec2ced96249691b7c9947af899556637d2589d52f91b0f6c21f84245d1
BLAKE2b-256 checksum
How to use checksums
84a546ddb3c29b4f0cef0aef1a7c5bbe315bb9964a65045fe3706f6f37eb69e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / bcpipeline-0.1.0-py3-none-any.whl

Download URL bcpipeline-0.1.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0a61270f369e777598b1446f3908fc80cb7afc88bf3280bca7aa31cb88b2f98
BLAKE2b-256 checksum
How to use checksums
0015ce134b96b3edcc62acceaf81e2a6bcd0e6ac33fecb75b116f00fc52cd2dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page