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

Update score_function.py

parent 30ef7e73
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -183,8 +183,8 @@ 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).
  .. [1] Steck, Harald, et al. "On ranking in survival analysis: 
     Bounds on the concordance index." Advances in neural information processing systems (2008).
  """

  idx = np.argsort(y_true)