Base generator class
xopt.generator ¶
Classes¶
xopt.generator.Generator ¶
Generator(**kwargs)
Bases: XoptBaseModel
, ABC
Initialize the generator.
Source code in xopt/generator.py
60 61 62 63 64 65 66 |
|
Functions¶
add_data(new_data)
update dataframe with results from new evaluations.
This is intended for generators that maintain their own data.
Source code in xopt/generator.py
76 77 78 79 80 81 82 83 84 85 86 |
|
model_dump(*args, **kwargs)
overwrite model dump to remove faux class attrs
Source code in xopt/generator.py
88 89 90 91 92 93 94 95 96 |
|