code: def _scoring(self, net, X_test, y_test):
          
          scorer = check_scoring(net, self.scoring_)
          scores = _score(
              estimator=net,
              X_test=X_test,
              y_test=y_test,
              scorer=scorer,
              is_multimetric=False,
          )
          return scores
docs: Resolve scoring and apply it to data. Use cached prediction
          instead of running inference again, if available.