code: def test_predict(make_whas500):
      whas500 = make_whas500()
      model = IPCRidge()
      model.fit(whas500.x[:400], whas500.y[:400])
  
      x_test = whas500.x[400:]
      y_test = whas500.y[400:]
      p = model.predict(x_test)
      assert_cindex_almost_equal(
          y_test["fstat"],
          y_test["lenfol"],
          -p,
          (0.66925817946226107, 2066, 1021, 0, 1),
      )
  
      assert model.score(x_test, y_test) == 0.66925817946226107
  
file_path: scikit-survival/tests/test_aft.py
imports: import numpy
  from numpy.testing import assert_array_almost_equal
  import pytest
  from sklearn.pipeline import make_pipeline
  from sksurv.base import SurvivalAnalysisMixin
  from sksurv.linear_model import IPCRidge
  from sksurv.testing import assert_cindex_almost_equal
label_desc: Use image node_id 2 for calling the TestIPCRidge obj's underlying member method code with example usage: obj.test_predict(make_whas500) without return types