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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mltunex-0.1.5.tar.gz
  • Upload date:
  • Size: 25.8 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.5.tar.gz
Algorithm Hash digest
SHA256 523569514f1c91b44ea5c83ed7addf47471e47bb902e143ff0479df3416ce5ec
MD5 60d3d74fbf06ef6b9c3b9b96500075d4
BLAKE2b-256 7e9db5b5969cbc901f4c2999b70f5aa0152c10953e761c0bc37e5967f87384c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mltunex-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 40.2 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 63f2dccbe2671b563096707808a44c443a7ca7e6f0b7b6dc142fe309e22ed1b9
MD5 430fe791c855305ce3c58ddfadc5ff72
BLAKE2b-256 fc99736e49988e5c8de32ec2697bf87f20f846a8a54685e28ab0bbb2f00af8df

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