def METHOD_NAME(self, Xc: np.ndarray, y: np.ndarray):
    if Xc is not None and Xc.shape[1] > 0:
        if self.space is not None:
            opt_lb = self.space.opt_lb
            opt_ub = self.space.opt_ub
            num = self.space.num_numeric
            cont_lb = opt_lb[:num].astype("float").reshape([1, -1])
            cont_ub = opt_ub[:num].astype("float").reshape([1, -1])
            concat_x = np.concatenate([Xc, cont_lb, cont_ub], axis=0)
            self.xscaler.fit(concat_x)
        else:
            self.xscaler.fit(Xc)
    self.yscaler.fit(y)