nimo package

nimo.nimo_modules module

class nimo.nimo_modules.analysis(method, input_file, output_file=None, num_objectives=None, num_discretize=None, y_plot_range=None)

Bases: object

Class of analysis

This class can perform analyses.

module_selection()

module selection of preparation input

This function do not depend on robot.

Returns:

True for success, False otherwise.

Return type:

res (str)

class nimo.nimo_modules.analysis_output(machine, input_file, output_file, num_objectives, output_folder, objectives_info=None)

Bases: object

Class of analysis output

This class can analyze output.

module_selection()

module selection of analysis input

This function do not depend on robot.

Returns:

True for success, False otherwise.

Return type:

res (str)

nimo.nimo_modules.history(input_file, num_objectives, itt=None, history_file=None)

Containing history results

This function do not depend on robot.

Parameters:
  • input_file (str) – the file for candidates

  • num_objectives (int) – the number of objectives

  • itt (int) – the number of step

  • history_file (list[float]) – the file for history results

Returns:

the file for history results (updated)

Return type:

history_file (list[float])

class nimo.nimo_modules.preparation_input(machine, input_file, input_folder)

Bases: object

Class of preparation input

This class can create input for robot experiments and star robot experiments.

module_selection()

module selection of preparation input

This function do not depend on robot.

Returns:

True for success, False otherwise.

Return type:

res (str)

class nimo.nimo_modules.selection(method, input_file, output_file, num_objectives, num_proposals, re_seed=None, ptr_ranges=None, slesa_beta_max=None, slesa_beta_num=None, physbo_score=None, ard=None, output_res=None)

Bases: object

Class of selection

This class can select the next candidates depending on the AI methods.

module_selection()

module selection of preparation input

This function do not depend on robot.

Returns:

True for success, False otherwise.

Return type:

res (str)