def _test(self, X, y, with_other): y_pred = self.clf.predict(X) if not with_other else self.predict_other( X) return validate(y, y_pred, with_other)
def _test(self, X, y): y_pred = self.clf.predict(X) validate(y, y_pred)
def _test(self, X, y): y_pred = self.clf.predict(xgb.DMatrix(X, feature_names=self.schema)) validate(y, y_pred.argmax(axis=1))