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

⚠️ 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

mltunex-0.1.4.tar.gz (26.2 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.4-py3-none-any.whl (41.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mltunex-0.1.4.tar.gz
  • Upload date:
  • Size: 26.2 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.4.tar.gz
Algorithm Hash digest
SHA256 bc0a8ba3440bb8bcd443af5dd6b4f9d384a05670cc686a4db7f5c52be4708c4b
MD5 9d26c56bf70924691fc707994834ffdc
BLAKE2b-256 9aa222480b16747c6c9a7f5f1653fc8602500c6255446f88ec7990be10c37a32

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mltunex-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 41.0 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5a729a92c35cc417e3935958938f006242842f7f961abf61a57b8da5c5720e11
MD5 def89687c9ae363124a68c5bd0c64cc6
BLAKE2b-256 1d891555025bd8ff2f4b5de0dd6ecf2ebcc53a5153638cc01e6e5737ca68f6fb

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