def check_array(self, X): from sklearn.utils.validation import check_array return check_array(X, allow_nd=True, estimator="GPR")