optimas-org / optimas

Optimization at scale, powered by libEnsemble
https://optimas.readthedocs.io
Other
22 stars 14 forks source link

Enable manually adding trials and evaluations to `Exploration` #128

Closed AngelFP closed 1 year ago

AngelFP commented 1 year ago

This PR adds three new methods to Exploration that enable a more flexible and interactive use of optimas, similar to what other libraries like Ax and Xopt already have:

All of these methods accept several types of inputs (dictionary, list, dataframe or numpy array). They are internally converted to a pandas dataframe to simplify the implementation.

In addition to the above, Exploration.history now returns a pandas DataFrame with the columns sorted for convenience.

Notes on implementation: