vix.ing · top · new · best · stats · spec

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

2023/07/17 by Thomas Bartz–Beielstein, Bartz-Beielstein, Thomas
Computer Science · #90C26 #Artificial Intelligence (cs.AI) #Computational Physics and Python Applications #FOS: Computer and information sciences #G.1.6 #I.2.6 #Machine Learning (cs.LG) #Machine Learning and Data Classification

paper · pdf · doi:10.48550/arxiv.2307.10262

openalex publication_date 2023/07/17 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28

Abstract

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.

Related