Skip to content

Resolve "Data reformatters"

Alessandro Maissen requested to merge 102-data-reformatters into master

Incorporating the changes envision in #102 (closed). The main places where to test the new additions are:

  • examples/semiramis/daaad_pipeline_semiramis.ipynb Here it is possible to test the generation, at the end of the notebook. All the different options, using None, the names of DataObjects, etc.
  • examples/toy_problem_overlap/toy_problem_overlap.ipynb At the every end, after the generation, we can test the AnalysisCallback, in order to get the ground truth values for some generated design parameters.

Most of these functions are relying on many data reformatters incorporated in the src/aaad/data/utils_data.py. All this is wrapped in function convert_to, which works as follows:

  • Receives some data, in any of the compatible formats. This is just data, i.e., no uid or error columns, as this will be removed. Then, we provide also the output data format, and the DataObjects. Then, we receive the formatted data.

There is also an auxiliary combine function, to merge data of design parameters and performance attributes, into a single variables, with the format specified.

Merge request reports

Loading