Skip to content
optimization routines for hyperparameter tuning
Jupyter Notebook Python MATLAB R Julia Makefile
Branch: master
Clone or download
claesenm Merge pull request #71 from jkleint/call-log-fix
Quick fix for CallLog.to_dict() KeyErrors
Latest commit 019182c Dec 14, 2016
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin added example of structured search spaces Jul 3, 2015
docs implementing bayesopt solver Feb 24, 2016
logo icons Nov 13, 2014
notebooks implementing bayesopt solver Feb 24, 2016
optunity Merge pull request #71 from jkleint/call-log-fix Dec 14, 2016
wrappers typo in error message of auc_roc Oct 13, 2015
.gitignore ignoring built R packages Jan 15, 2015
.travis.yml removed python 2.6 from test suite because it has no OrderedDict with… Nov 12, 2014
LICENSE.txt updated package MANIFEST Jul 19, 2015
Makefile final modifications before 1.1.0 release Jul 19, 2015
README.rst acknowledged Vilen's work! Oct 1, 2015 exponential search space in first example on main page Jul 23, 2015


Optunity Documentation Status

Optunity is a library containing various optimizers for hyperparameter tuning. Hyperparameter tuning is a recurrent problem in many machine learning tasks, both supervised and unsupervised. Tuning examples include optimizing regularization or kernel parameters.

From an optimization point of view, the tuning problem can be considered as follows: the objective function is non-convex, non-differentiable and typically expensive to evaluate.

This package provides several distinct approaches to solve such problems including some helpful facilities such as cross-validation and a plethora of score functions.

The Optunity library is implemented in Python and allows straightforward integration in other machine learning environments, including R and MATLAB.

If you have any comments, suggestions you can get in touch with us at gitter:

Join the chat at

To get started with Optunity on Linux, issue the following commands:

git clone
echo "export PYTHONPATH=$PYTHONPATH:$(pwd)/optunity" >> ~/.bashrc

Afterwards, importing optunity should work in Python:

#!/usr/bin/env python
import optunity

Optunity is developed at the STADIUS lab of the dept. of electrical engineering at KU Leuven (ESAT). Optunity is free software, using a BSD license.

For more information, please refer to the following pages:


The main contributors to Optunity are:

  • Marc Claesen: framework design & implementation, communication infrastructure, MATLAB wrapper and all solvers.
  • Jaak Simm: R wrapper.
  • Vilen Jumutc: Julia wrapper.
You can’t perform that action at this time.