KernelModel¶
- class KernelModel¶
Bases:
objectKernel model class.
Methods
Initializes the KernelModel with given parameters.
Attributes
Returns the coefficient matrix of the kernel model.
Returns the coefficient matrix for the mean of the kernel model.
Returns the coefficient matrix for the sigma of the kernel model.
Returns the coefficient vector of the kernel model.
Returns the coefficient vector for the mean of the kernel model.
Returns the coefficient vector for the sigma of the kernel model.
- __init__(beta: float = 0.0, gamma: float = 0.0) None¶
Initializes the KernelModel with given parameters.
- __dict__ = mappingproxy({'__module__': 'amplify_bbopt.trainer', '__doc__': 'Kernel model class.', '__init__': <function KernelModel.__init__>, 'coef_matrix': <property object>, 'coef_vector': <property object>, 'coef_matrix_mu': <property object>, 'coef_vector_mu': <property object>, 'coef_matrix_sigma': <property object>, 'coef_vector_sigma': <property object>, '_predict': <function KernelModel._predict>, '__call__': <function KernelModel.__call__>, '__dict__': <attribute '__dict__' of 'KernelModel' objects>, '__weakref__': <attribute '__weakref__' of 'KernelModel' objects>, '__annotations__': {'_coef_matrix_mu': 'np.ndarray | None', '_coef_vector_mu': 'np.ndarray | None', '_coef_matrix_sigma': 'np.ndarray | None', '_coef_vector_sigma': 'np.ndarray | None', '_beta': 'float', '_gamma': 'float'}})¶
- __weakref__¶
list of weak references to the object (if defined)
- property coef_matrix_mu: ndarray | None¶
Returns the coefficient matrix for the mean of the kernel model.
- property coef_matrix_sigma: ndarray | None¶
Returns the coefficient matrix for the sigma of the kernel model.