uclamii / model_tuner

A library to tune the hyperparameters of common ML models. Supports calibration and custom pipelines.
Apache License 2.0
3 stars 0 forks source link



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 installing model_tuner, ensure your system meets the following requirements:

Python Version

model_tuner requires Python 3.7 or higher. Specific dependency versions vary depending on your Python version.

Dependencies

The following dependencies will be automatically installed when you install model_tuner via pip:

For Python 3.7:

For Python 3.8 to 3.10:

For Python 3.11 and 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.23a},
  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.