Skip to main content

A Python library for tuning machine learning models.

Project description



Downloads PyPI License DOI

The model_tuner library 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 library is particularly useful for model selection, hyperparameter tuning, and 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

🌐 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{funnell_2024_12727322,
  author       = {Funnell, Arthur and
                  Shpaner, Leonid and
                  Petousis, Panayiotis},
  title        = {Model Tuner},
  month        = jul,
  year         = 2024,
  publisher    = {Zenodo},
  version      = {0.0.20a},
  doi          = {10.5281/zenodo.12727322},
  url          = {https://doi.org/10.5281/zenodo.12727322}
}

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.20a0.tar.gz (24.9 kB view details)

Uploaded Source

Built Distribution

model_tuner-0.0.20a0-py3-none-any.whl (24.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for model_tuner-0.0.20a0.tar.gz
Algorithm Hash digest
SHA256 9d5ed4e7e60ec8822b33e38ed3e672f8c1c31ae2f4e1a735248c149c6d10a3a7
MD5 f30f3f6a2253e00a7e33570fff489823
BLAKE2b-256 07853c3349a6ea82ebc0524c6c256fc6fb116adec0e8955a6002b36039791c6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for model_tuner-0.0.20a0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd72be60ff9e44c58324bcfdc84d6eac7a093702e9523c0a18d4405b3aabd6f3
MD5 165fdb4da5b677de844dc08f164c031d
BLAKE2b-256 bd15de995061b8e606e61d04b4df50f8762cab9acf7e2e3e91804a02fc63fd61

See more details on using hashes here.

Supported by

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