Skip to content

surrogates

surrogates

Super class for all surrogate model classes (e.g., Kriging)

Source code in spotpython/build/surrogates.py
 4
 5
 6
 7
 8
 9
10
11
12
13
class surrogates:
    """
    Super class for all surrogate model classes (e.g., Kriging)
    """
    def __init__(self, name="", seed=123, verbosity=0):
        self.name = name
        self.seed = seed
        self.rng = default_rng(self.seed)
        self.log = {}
        self.verbosity = verbosity