Skip to content

Compute Pareto

arturluis edited this page Feb 18, 2021 · 2 revisions

HyperMapper provides a method to compute a Pareto from the csv data files specified in the json "output_data_file" field and return the Pareto in the file specified in the json "output_pareto_file" field.

Example 1:

hm-compute-pareto example_scenarios/spatial/app_scenario.json

Another useful usage of this method is when we want to compute a Pareto from some other approach and we have the data of the exploration in a csv data file. In that case we still need to provide the json file but we can overwrite from the command line the input csv file and the output csv file.

Example 2:

hm-compute-pareto example_scenarios/spatial/app_scenario.json /path/to/input_data_file.csv /path/to/output_pareto_file.csv 

In this context /path/to/input_data_file.csv is the file that contains all the samples from where we want to compute the Pareto.

Clone this wiki locally