Skip to content

Commit be0cac7

Browse files
authored
Merge pull request #27 from nabenabe0928/doc/add-matplotlib-example-to-read-me
Add matplotlib example to `README.md`
2 parents 5b22259 + 6128d30 commit be0cac7

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ Since MCP clients know the list of tools and the details of each tool, users do
184184
- [Starting the Optuna dashboard and analyzing optimization results](#starting-the-optuna-dashboard-and-analyzing-optimization-results)
185185
- [Optimizing the FFmpeg encoding parameters](#optimizing-the-ffmpeg-encoding-parameters)
186186
- [Optimizing the Cookie Recipe](#optimizing-the-cookie-recipe)
187+
- [Optimizing the Matplotlib Configuration](#optimizing-the-matplotlib-configuration)
187188

188189
### Optimizing the 2D-Sphere Function
189190

@@ -218,15 +219,29 @@ Optuna dashboard provides various visualizations to analyze the optimization res
218219

219220
This demo showcases how to use the Optuna MCP server to automatically find optimal FFmpeg encoding parameters. It optimizes x264 encoding options to maximize video quality (measured by the SSIM score) while keeping encoding time reasonable.
220221

221-
Check out [examples/ffmpeg.md](https://raw.githubusercontent.com/optuna/optuna-mcp/main/examples/ffmpeg/ffmpeg.md) for details.
222+
Check out [examples/ffmpeg.md](https://github.com/optuna/optuna-mcp/tree/main/examples/ffmpeg/ffmpeg.md) for details.
222223

223224
### Optimizing the Cookie Recipe
224225

225226
![cookie-recipe](https://raw.githubusercontent.com/optuna/optuna-mcp/main/examples/cookie-recipe/images/result-table.png)
226227

227228
In this example, we will optimize a cookie recipe, referencing the paper titled "[Bayesian Optimization for a Better Dessert](https://research.google/pubs/bayesian-optimization-for-a-better-dessert/)".
228229

229-
Check out [examples/cookie-recipe](https://raw.githubusercontent.com/optuna/optuna-mcp/main/examples/cookie-recipe/README.md) for details.
230+
Check out [examples/cookie-recipe](https://github.com/optuna/optuna-mcp/tree/main/examples/cookie-recipe/README.md) for details.
231+
232+
### Optimizing the Matplotlib Configuration
233+
234+
<table>
235+
<caption>Default and optimized figures by Optuna MCP.</caption>
236+
<tr>
237+
<td><img src="https://raw.githubusercontent.com/optuna/optuna-mcp/main/examples/auto-matplotlib/images/first-plot.png" alt=""></td>
238+
<td><img src="https://raw.githubusercontent.com/optuna/optuna-mcp/main/examples/auto-matplotlib/images/best-plot.png" alt=""></td>
239+
</tr>
240+
</table>
241+
242+
This example optimizes a Matplotlib configuration.
243+
244+
Check out [examples/auto-matplotlib](https://github.com/optuna/optuna-mcp/tree/main/examples/auto-matplotlib/README.md) for details.
230245

231246
## License
232247

0 commit comments

Comments
 (0)