layg.emulator.BaseEmulator¶
-
class
layg.emulator.
BaseEmulator
¶ Base class from which emulators should inherit
This class is abstract. The child class must implement the marked methods.
Methods
add_data
(self, x_train, y_train)Add data to the training set on the fly set_emul_error_func set_emul_func -
__init__
(self)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(self)Initialize self. add_data
(self, x_train, y_train)Add data to the training set on the fly set_emul_error_func
(self, x_cv, y_cv_err)set_emul_func
(self, x_train, y_train)-