arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.10262cs.LGcs.AI
收藏

超参数调优手册:面向scikit-learn、PyTorch、river与spotPython的指南

Hyperparameter Tuning Cookbook: A guide for scikit-learn, PyTorch, river, and spotPython

Thomas Bartz-Beielstein

AI总结:

该指南介绍基于spotPython的超参数调优方法,覆盖scikit-learn、PyTorch、river等框架的多类模型调优案例与工具集成,为Python超参数调优提供实操入门参考。

摘要:

本文档提供了一份使用spotPython为scikit-learn、PyTorch和river进行超参数调优的综合指南。第一部分介绍spotPython基于代理模型的优化流程,第二部分聚焦超参数调优。文中呈现了多个案例研究,包括sklearn模型的超参数调优,如支持向量分类、随机森林、梯度提升(XGB)和K近邻(KNN),以及来自river的霍夫丁自适应树回归器。还讨论了spotPython与PyTorch及PyTorch Lightning训练工作流的集成。本手册采用实操导向的方式并配有分步讲解,可作为所有对使用Python进行超参数调优感兴趣者的实用入门参考。亮点内容涵盖Tensorboard、PyTorch Lightning、spotPython与river之间的交互协作。该出版物仍在开发中,更新内容可在对应网页查看。

英文摘要:

This document provides a comprehensive guide to hyperparameter tuning using spotPython for scikit-learn, PyTorch, and river. The first part introduces spotPython's surrogate model-based optimization process, while the second part focuses on hyperparameter tuning. Several case studies are presented, including hyperparameter tuning for sklearn models such as Support Vector Classification, Random Forests, Gradient Boosting (XGB), and K-nearest neighbors (KNN), as well as a Hoeffding Adaptive Tree Regressor from river. The integration of spotPython into the PyTorch and PyTorch Lightning training workflow is also discussed. With a hands-on approach and step-by-step explanations, this cookbook serves as a practical starting point for anyone interested in hyperparameter tuning with Python. Highlights include the interplay between Tensorboard, PyTorch Lightning, spotPython, and river. This publication is under development, with updates available on the corresponding webpage.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑