code: def test_prank_rbf_kernel(train_data):
      X, y = train_data
      est = KernelPRank(
          kernel="rbf",
          gamma=100,
          n_iter=10,
          shuffle=False,
          random_state=0,
      )
      est.fit(X, y)
      np.testing.assert_almost_equal(est.score(X, y), 15.84, 2)
  
file_path: lightning/lightning/impl/tests/test_prank.py
imports: import numpy
  import pytest
  from sklearn.datasets import load_diabetes
  from lightning.ranking import PRank
  from lightning.ranking import KernelPRank
label_desc: Use image node_id 4 for calling a global function with example usage: test_prank_rbf_kernel(train_data) without return types