We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.LG

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Machine Learning

Title: PyTorch Hyperparameter Tuning - A Tutorial for spotPython

Abstract: The goal of hyperparameter tuning (or hyperparameter optimization) is to optimize the hyperparameters to improve the performance of the machine or deep learning model. spotPython (``Sequential Parameter Optimization Toolbox in Python'') is the Python version of the well-known hyperparameter tuner SPOT, which has been developed in the R programming environment for statistical analysis for over a decade. PyTorch is an optimized tensor library for deep learning using GPUs and CPUs. This document shows how to integrate the spotPython hyperparameter tuner into the PyTorch training workflow. As an example, the results of the CIFAR10 image classifier are used. In addition to an introduction to spotPython, this tutorial also includes a brief comparison with Ray Tune, a Python library for running experiments and tuning hyperparameters. This comparison is based on the PyTorch hyperparameter tuning tutorial. The advantages and disadvantages of both approaches are discussed. We show that spotPython achieves similar or even better results while being more flexible and transparent than Ray Tune.
Comments: Refers to spotPython version 0.2.15
Subjects: Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Numerical Analysis (math.NA)
MSC classes: 68T07
ACM classes: A.1; B.8.0; G.1.6; G.4; I.2.8
Cite as: arXiv:2305.11930 [cs.LG]
  (or arXiv:2305.11930v2 [cs.LG] for this version)

Submission history

From: Thomas Bartz-Beielstein [view email]
[v1] Fri, 19 May 2023 17:47:50 GMT (196kb,D)
[v2] Wed, 7 Jun 2023 14:25:19 GMT (1577kb,D)

Link back to: arXiv, form interface, contact.