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.7.tar.gz (27.6 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.7-py3-none-any.whl (43.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mltunex-0.1.7.tar.gz
  • Upload date:
  • Size: 27.6 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.7.tar.gz
Algorithm Hash digest
SHA256 b0c9e47e036bb1f219fa911ff7093a9bbb30ff12c6ea8bfdd9f3db8b4e6e4c83
MD5 3f1129e14d4611403413e2965f6a4c5c
BLAKE2b-256 45b6bc2385ab90fe63503249208c5b1f011bbdf9f8f39e75dcc2e006f14651cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mltunex-0.1.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 901fdcd3383124ba59287c4ec04492e585b5d30559ae0cf5c6030df003ae7c65
MD5 7888105154d022ac23a4d1cd0fb5c2a3
BLAKE2b-256 73687842f5e4381d91e3572aa4a25a53d89f09bd4c12625d84a553382cac4612

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