Skip to main content

A Python library for tuning Machine Learning models.

Project description

Model Tuner Logo

Downloads PyPI License DOI

The model_tuner class is a versatile and powerful tool designed to facilitate the training, evaluation, and tuning of machine learning models. It supports various functionalities such as handling imbalanced data, applying different scaling and imputation techniques, calibrating models, and conducting cross-validation. This class is particularly useful for model selection and hyperparameter tuning, ensuring optimal performance across different metrics.

Prerequisites

Before you install model_tuner, ensure your system meets the following requirements:

  • Python: Version 3.7 or higher is required to run model_tuner.

Additionally, model_tuner depends on the following packages, which will be automatically installed when you install model_tuner using pip:

  • numpy: Version 1.21.6 or higher

  • pandas: Version 1.3.5 or higher

  • joblib: Version 1.3.2 or higher

  • scikit-learn: Version 1.0.2 or higher

  • scipy: Version 1.7.3 or higher

  • tqdm: Version 4.66.4 or higher

Installation

You can install model_tuner directly from PyPI:

pip install model_tuner

📄 Official Documentation

https://uclamii.github.io/model_tuner/getting_started.html

🌐 Author Website

https://www.mii.ucla.edu/

⚖️ License

model_tuner is distributed under the Apache License. See LICENSE for more information.

📚 Citing model_tuner

If you use model_tuner in your research or projects, please consider citing it.

@software{arthur_funnell_2024_12727323,
  author       = {Arthur Funnell and
                  Leonid Shpaner and
                  Panayiotis Petousis},
  title        = {uclamii/model\_tuner: model tuner 0.0.11a},
  month        = jul,
  year         = 2024,
  publisher    = {Zenodo},
  version      = {0.0.11a},
  doi          = {10.5281/zenodo.12727323},
  url          = {https://doi.org/10.5281/zenodo.12727323}
}

Support

If you have any questions or issues with model_tuner, please open an issue on this GitHub repository.

Acknowledgements

This work was supported by the UCLA Medical Informatics Institute (MII) and the Clinical and Translational Science Institute (CTSI). Special thanks to Dr. Alex Bui for his invaluable guidance and support, and to Panayiotis Petousis for his original contributions to this codebase.

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

model_tuner-0.0.11a0.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

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

model_tuner-0.0.11a0-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file model_tuner-0.0.11a0.tar.gz.

File metadata

  • Download URL: model_tuner-0.0.11a0.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for model_tuner-0.0.11a0.tar.gz
Algorithm Hash digest
SHA256 66cf6b64fd110ac26b88a9c86e0caf77f92f6bd85c97e7bd8e91fb1e5e8e2399
MD5 0c69b822f183a981d3c23bb6412f38ba
BLAKE2b-256 40cff090108f254a0ccff8f163f5ffcafcbbc791c795b67401b5ca6bae8304ee

See more details on using hashes here.

File details

Details for the file model_tuner-0.0.11a0-py3-none-any.whl.

File metadata

  • Download URL: model_tuner-0.0.11a0-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for model_tuner-0.0.11a0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a809086b17431d9971a93ed6b7cef99fb76248ed45c941822d4552fcd30d4af
MD5 6b292f0967106cbf976537dd15432c39
BLAKE2b-256 13a35978cefbfeaec47b40ae3d84316d797a5083114949615a9b782b196b8a5e

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