AutoML for Classification.Simplify model training with automatic hyperparameter tuning and model selection.
Project description
AutoML Classifier
A Python library for automated machine learning classification tasks. This package simplifies model selection, hyperparameter tuning, and evaluation with a scikit-learn compatible API.
Features
- Automatic model selection from popular classifiers (Random Forest, Gradient Boosting, SVM)
- Built-in cross-validation for reliable performance estimation
- Data preprocessing including automatic feature scaling
- Simple API with familiar fit/predict interface
- Pandas DataFrame support for easy integration with existing workflows
Installation
pip install ujwal_automl-classifier
## Basic Usage
from ujwal_automl-classifier import AutoClassifier
from sklearn.datasets import load_iris
# Load sample data
data = load_iris()
X, y = data.data, data.target
# Initialize and fit the classifier
clf = AutoClassifier()
clf.fit(X, y)
# Make predictions
predictions = clf.predict(X[:5])
print(predictions)
## Advanced Usage
from sklearn.ensemble import ExtraTreesClassifier
from sklearn.naive_bayes import GaussianNB
# Specify custom models to evaluate
models = {
"ExtraTrees": ExtraTreesClassifier(),
"NaiveBayes": GaussianNB()
}
clf = AutoClassifier(models=models)
clf.fit(X, y)
# After fitting
print(f"Best model: {clf.best_model}")
print(f"Validation accuracy: {clf.best_score:.3f}")
## API Reference
# AutoClassifier
AutoClassifier(models=None, cv=5, random_state=42)
models: Dictionary of models to evaluate (default: RandomForest, GradientBoosting, SVM)
cv: Number of cross-validation folds (default: 5)
random_state: Random seed for reproducibility
# Methods
fit(X, y): Train the classifier
predict(X): Make predictions
## License
This project is licensed under the MIT License
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 ujwal_automl_classifier-0.1.0.tar.gz.
File metadata
- Download URL: ujwal_automl_classifier-0.1.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9c7b0c726996087a0827118dbd3ae4f00625f863c805c9d4ebdcaf2f15280d6
|
|
| MD5 |
b7b075b068ae0f1dc9ce35f932c2939b
|
|
| BLAKE2b-256 |
2bd0f3d817d83446dab70c4a5f15e917c7febbdb0a92d2a6916b32e538ca2602
|
File details
Details for the file ujwal_automl_classifier-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ujwal_automl_classifier-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e9ebfe4d29c0bf3f8a142cbe3669e86f029b3879731ed9efe35170e01f42125
|
|
| MD5 |
a86fb10e9449b001daa0666791e80368
|
|
| BLAKE2b-256 |
fec28bc1cabda65fe07f0b7c7048a22163aa687ee8dcaa543a6a57b96a75b60d
|