A package for machine learning tuning and optimization.
Project description
🤖 MLTuneX - AutoML Framework for Model Training and Hyperparameter Tuning
MLTuneX is a powerful and extensible AutoML library designed to make machine learning model training and hyperparameter tuning easy, customizable, and scalable.
🚀 With support for preprocessed data (currently), the library can:
- Train multiple models
- Evaluate their performance
- Tune top models using Optuna and OpenAI GPT-based guidance
- Save the best-performing model
⚙️ Currently supports:
- Model Library:
scikit-learn - Tuning Framework:
Optuna
🧪 Upcoming support:
- Grid Search
- Random Search
- Ray Tune
- OpenAI-based advanced tuning agents
⚠️ NOTE: As of now, only preprocessed data is supported. You must provide a dataset that is already cleaned and encoded. Automated raw data handling is planned in upcoming versions.
📦 Installation
Install the package directly using pip:
pip install --no-cache-dir MLTuneX
export OPENAI_API_KEY="your-openai-api-key-here"
from mltunex.main import MLTuneX
mltunex = MLTuneX(
data="/path/to/your/preprocessed_data.csv", # Must be a cleaned CSV or pandas DataFrame
target_column="your_target_column", # Specify the target column
task_type="regression" # Choose between "regression" or "classification"
)
mltunex.run(
result_csv_path="/path/to/save/csv", # Directory to store evaluation results
model_dir_path="/path/to/save/models", # Directory to save the best model
tune_models="yes" # "yes" to enable hyperparameter tuning
)
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 mltunex-0.1.3.tar.gz.
File metadata
- Download URL: mltunex-0.1.3.tar.gz
- Upload date:
- Size: 26.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cff7c3e6b5bd4af18171b867e80ba65d9a3e7ade226e1213a6354fba7bfa9e1
|
|
| MD5 |
f89ff3576676dfaa9edf6793f6a4464a
|
|
| BLAKE2b-256 |
b83d4d8ca1a8c1fdf79c515fd864033496e84bb05de07df2ef82e930638fc31e
|
File details
Details for the file mltunex-0.1.3-py3-none-any.whl.
File metadata
- Download URL: mltunex-0.1.3-py3-none-any.whl
- Upload date:
- Size: 40.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3eb3abf5e2a136b53af096782b8e025f60b263206ce5c8c59ec4834b57eb270
|
|
| MD5 |
341609fc91962d6c5e2c7ae5dfb2b2a6
|
|
| BLAKE2b-256 |
b0e8378916e660e1b1469c50404028e5e0a26c76550f0b2891f3b4dff1dbd7fb
|