feijoa.visualization package#
Submodules#
feijoa.visualization.edf module#
EDF plot module.
- feijoa.visualization.edf.plot_edf(job, fig=None, name=None, invert_objective=False)#
Plot the EDF of a job.
- Parameters
job (Job) – Job instance.
fig (go.Figure) – Plotly figure object.
name – Name of trace.
invert_objective (bool) – For the maximization task, it is necessary to invert the value of the view function, in this case, you must check this box to get corrective values
- Raises
AnyError – If anything bad happens.
feijoa.visualization.evaluations module#
Evaluations plot module.
- feijoa.visualization.evaluations.pad(string, width, filler=' ', fill_chars=3)#
Pads a string to a given width.
- Parameters
string (str) – String instance.
width (int) – Target width of string.
filler – Fill places with specified char.
fill_chars – Count of chars to fill.
- Raises
AnyError – If anything bad happens.
- feijoa.visualization.evaluations.plot_evaluations(job, params=None, invert_objective=False)#
Plot evaluations of job.
- Parameters
job (Job) – Job instance.
params (list) – List of parameters to plot.
invert_objective (bool) – For the maximization task, it is necessary to invert the value of the view function, in this case, you must check this box to get corrective values
- Raises
AnyError – If anything bad happens.
feijoa.visualization.hist module#
Histogram’s plot module.
- feijoa.visualization.hist.plot_objective_hist(job, fig=None, invert_objective=False)#
Plot objective hists for a specified job.
- Parameters
job (Job) – Job instance.
fig (go.Figure) – Plotly figure object.
invert_objective (bool) – For the maximization task, it is necessary to invert the value of the view function, in this case, you must check this box to get corrective values
- Raises
AnyError – If anything bad happens.
feijoa.visualization.importances module#
feijoa.visualization.optimization_history module#
Optimization history plot module.
- feijoa.visualization.optimization_history.plot_compare_jobs(*jobs, mode='lines+markers', fig=None, names=None, invert_objective=False)#
Plot comparison between jobs.
- Parameters
jobs (List[Job]) – List of jobs.
mode (str) – Plotly plot mode. Defaults to “lines+markers”
names (List[str]) – Names of traces.
fig (go.Figure) – Plotly figure object.
invert_objective (bool) – For the maximization task, it is necessary to invert the value of the view function, in this case, you must check this box to get corrective values
- Raises
AnyError – If anything bad happens.
- feijoa.visualization.optimization_history.plot_optimization_history(job, mode='lines+markers', name=None, fig=None, only_best=True, invert_objective=False)#
Plot optimization history.
- Parameters
job (Job) – Job instance.
mode (str) – Plotly plot mode. Defaults to “lines+markers”
name (str) – Name of trace.
fig (go.Figure) – Plotly figure object.
only_best – Plotly only bests results. (Descending sequence by objective values)
invert_objective (bool) – For the maximization task, it is necessary to invert the value of the view function, in this case, you must check this box to get corrective values
- Raises
AnyError – If anything bad happens.
feijoa.visualization.parallel_coordinates module#
Parallel coordinates plot module.
- feijoa.visualization.parallel_coordinates.pad(string, width, filler=' ', fill_chars=3)#
Pads a string to a given width.
- Parameters
string (str) – String instance.
width (int) – Target width of string.
filler – Fill places with specified char.
fill_chars – Count of chars to fill.
- Raises
AnyError – If anything bad happens.
- feijoa.visualization.parallel_coordinates.plot_parallel_coordinates(job, params=None, invert_objective=False)#
Plot the parallel coordinates for a specified job.
- Parameters
job (Job) – Job instance.
params (list) – Parameters names to plot.
invert_objective (bool) – For the maximization task, it is necessary to invert the value of the view function, in this case, you must check this box to get corrective values
- Raises
AnyError – If anything bad happens.