Skip to content

Commit

Permalink
Merge pull request #149 from nabenabe0928/update-tpe-tutorial
Browse files Browse the repository at this point in the history
Update the Optuna version and requirements.txt for TPE tutorial
  • Loading branch information
y0z authored Sep 2, 2024
2 parents 7b2c388 + 0a4f165 commit 7b72079
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
14 changes: 13 additions & 1 deletion package/samplers/tpe_tutorial/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ author: Shuhei Watanabe
title: Tree-Structured Parzen Estimator; Understanding Its Algorithm Components and Their Roles for Better Empirical Performance
description: The optimizer that reproduces the algorithm described in the paper ``Tree-Structured Parzen Estimator; Understanding Its Algorithm Components and Their Roles for Better Empirical Performance''.
tags: [sampler, tpe, paper, research]
optuna_versions: [v4.0.0b0]
optuna_versions: [v4.0.0]
license: MIT License
---

Expand All @@ -19,6 +19,18 @@ The default parameter set of this sampler is the recommended setup from the pape

- CustomizableTPESampler

## Installation

The version constraint of this package is Optuna v4.0.0 or later.

```shell
# The requirement is only Optuna.
$ pip install optuna

# You can also optionally install as follows:
$ pip install -r https://hub.optuna.org/samplers/tpe_tutorial/requirements.txt
```

## Example

This sampler supports the arguments discussed in [the original paper](https://arxiv.org/abs/2304.11127) and can be used in this way.
Expand Down
1 change: 1 addition & 0 deletions package/samplers/tpe_tutorial/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
optuna>=4.0.0

0 comments on commit 7b72079

Please sign in to comment.