tumourkit.classification.evaluate.draw_reliability_diagram
- tumourkit.classification.evaluate.draw_reliability_diagram(y_true: ndarray, y_probs: ndarray, save_path: str, method_name: str) None
Draws a reliability diagram and saves it to the specified path.
- Parameters:
y_true (np.ndarray) – The true labels.
y_probs (np.ndarray) – The predicted probabilities.
save_path (str) – The path to save the reliability diagram (without extension).
method_name (str) – The name of the method for the legend.