code: def test_score(self, net_fit, data):
      X, y = data
      r2_score = net_fit.score(X, y)
      assert r2_score <= 1.0
  
imports: from functools import partial
  import numpy
  import pytest
  from sklearn.base import clone
  from skorch.tests.conftest import INFERENCE_METHODS
label_desc: Use image node_id 15 for calling the TestNeuralNetRegressor obj's underlying member method code with example usage: obj.test_score(net_fit, data) without return types