Unverified Commit 78c91053 authored by hsjang001205's avatar hsjang001205 Committed by GitHub
Browse files

Update score_function.py

parent f7faa4ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -184,7 +184,7 @@ def concordance_index(y_true: np.ndarray, y_pred: np.ndarray) -> float:
  References
  ----------
  .. [1] Steck, Harald, et al. "On ranking in survival analysis: 
     Bounds on the concordance index." Advances in neural information processing systems (2008).
     Bounds on the concordance index." Advances in neural information processing systems (2008): 1209-1216.
  """

  idx = np.argsort(y_true)