Skip to main content
Glama

Optuna MCP Server

Official
by optuna

plot_pareto_front

Generate a Pareto front plot for multi-objective optimization results, visualizing optimal trade-offs between objectives. Customize axes, include dominated trials, and specify target objectives for detailed analysis.

Instructions

Return the Pareto front plot as an image for multi-objective optimization.

Args: target_names: Objective name list used as the axis titles. If :obj:`None` is specified, "Objective {objective_index}" is used instead. If ``targets`` is specified for a study that does not contain any completed trial, ``target_name`` must be specified. include_dominated_trials: A flag to include all dominated trial's objective values. targets: A list of indices to specify the objective values to display. Note that this is 0-indexed, i.e., to plot the first and second objective value, set this to [0, 1]. If the number of objectives is neither 2 nor 3, ``targets`` must be specified. By default, all objectives are displayed.

Input Schema

NameRequiredDescriptionDefault
include_dominated_trialsNo
target_namesNo
targetsNo

Input Schema (JSON Schema)

{ "properties": { "include_dominated_trials": { "default": true, "title": "Include Dominated Trials", "type": "boolean" }, "target_names": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Target Names" }, "targets": { "anyOf": [ { "items": { "type": "integer" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Targets" } }, "title": "plot_pareto_frontArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/optuna/optuna-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server