#8585th of 105 in ML frameworks and libraries

hyperopt

Python library for hyperparameter search over conditional, mixed search spaces

Stars
7.6k
License
custom license
Last commit
Jul 2026
Last release
Jul 2026
Language
Python
Stars, last 29 weeks+75
1 Apr 2026: 7,522 stars8 Apr 2026: 7,525 stars15 Apr 2026: 7,528 stars22 Apr 2026: 7,534 stars29 Apr 2026: 7,535 stars6 May 2026: 7,536 stars13 May 2026: 7,539 stars20 May 2026: 7,542 stars27 May 2026: 7,543 stars3 Jun 2026: 7,547 stars10 Jun 2026: 7,552 stars17 Jun 2026: 7,555 stars24 Jun 2026: 7,557 stars1 Jul 2026: 7,560 stars8 Jul 2026: 7,561 stars15 Jul 2026: 7,564 stars22 Jul 2026: 7,571 stars29 Jul 2026: 7,576 stars5 Aug 2026: 7,582 stars12 Aug 2026: 7,582 stars19 Aug 2026: 7,583 stars26 Aug 2026: 7,583 stars2 Sept 2026: 7,584 stars9 Sept 2026: 7,586 stars16 Sept 2026: 7,588 stars23 Sept 2026: 7,590 stars30 Sept 2026: 7,591 stars7 Oct 2026: 7,592 stars14 Oct 2026: 7,593 stars21 Oct 2026: 7,597 stars

7,522 on 1 Apr 20267,597 on 21 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Hyperopt is a Python library that minimizes an objective function over search spaces with real-valued, discrete and conditional dimensions. It implements random search, Tree of Parzen Estimators (TPE) and Adaptive TPE, and can parallelize evaluations through Apache Spark or MongoDB. The README states no RAM or GPU requirements.

Who it is for: ML engineers tuning hyperparameters in Python, serially or on Spark/MongoDB

Strengths

  • Search spaces can nest conditional branches, as in the hp.choice example
  • Three algorithms: random search, TPE and Adaptive TPE
  • Parallel evaluation via SparkTrials or MongoTrials extras
  • Installs from PyPI with pip or uv; fmin API is small

Weaknesses

  • Gaussian-process and regression-tree optimizers are designed for but not implemented
  • Documentation is split between a docs site and the GitHub wiki
  • Parallel runs need an external Spark cluster or MongoDB server
  • License is not identified automatically (NOASSERTION)

What it needs

  • no GPU
  • Needs Apache Spark (optional), MongoDB (optional)

Also in ML frameworks and libraries

See all 105
Also in ML frameworks and libraries
RankProjectScore
1transformersPython library defining open models for text, vision, audio and multimodal tasks168k starsApache-2.094 out of 100
2pytorchPython tensor library with GPU support and tape-based autograd for deep learning105k starscustom license94 out of 100
3ultralyticsPython library and CLI for training and running YOLO vision models62.7k starsAGPL-3.093 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and reference training scripts37.2k starsApache-2.092 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.3k starsMIT91 out of 100