Skip to main content

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

🤖 Supported LLMs for Tuning

MLTuneX uses large language models to guide tuning strategies. You can specify the provider and model using the model_provider_model_name argument:

OpenAI:

  • OpenAI:gpt-4o

Groq:

  • Groq:deepseek-r1-distill-llama-70b
  • Groq:qwen/qwen3-32b

ℹ️ Additional model support will be added in future updates. Contributions are welcome!


⚠️ 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"
export GROQ_API_KEY="your-groq-api-key"
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"
    model_provider_model_name = "OpenAI:gpt-4o"
)

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

mltunex-0.1.6.tar.gz (27.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mltunex-0.1.6-py3-none-any.whl (43.7 kB view details)

Uploaded Python 3

File details

Details for the file mltunex-0.1.6.tar.gz.

File metadata

  • Download URL: mltunex-0.1.6.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.5

File hashes

Hashes for mltunex-0.1.6.tar.gz
Algorithm Hash digest
SHA256 6369bdfe311d842a9bc29b034d34e733a31f4a776b8bd6d5d3edffd6f2db53b6
MD5 655f5a959877a55bee12e8747f806bdf
BLAKE2b-256 32752fcd507b4764622bb938b8873a23d0bad1a653c463dcd7a5fb5d0df1a337

See more details on using hashes here.

File details

Details for the file mltunex-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: mltunex-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 43.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.5

File hashes

Hashes for mltunex-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 33c382f8bd1ee9255b132415e3c51e407359e5dbcf7f867ff87e28f3f109d9da
MD5 ebaf781efb50a048b6895ddc5645b712
BLAKE2b-256 637fd74af67479dfef744c76c8e72ddb988bbc3861c4a9a3f726e47feb466816

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page