yall.utils module¶
-
yall.utils.
compute_alc
(aucs, normalize=True)[source]¶ Compute the normalized Area under the Learning Curve (ALC) for a set of AUCs.
param aucs: np.array of AUC values. param normalize: Whether to normalize the ALC, default: True.
-
yall.utils.
plot_learning_curve
(aucs, L_init, L_end, title='ALC', eval_metric='auc', saveto=None)[source]¶ Plots the learning curve for a set of AUCs.
param aucs: np.array of AUC values. param L_init: The initial size of the labeled set. param L_end: The final size of the labeled set. param title: The title of this plot. param saveto: Filename to which to save this plot instead of showing it.