Currently, VW cannot report AUC . Even worse, it cannot optimize directly for AUC. Optimization for AUC is not compatible with online learning, but there are some AUC approximations suitable for optimization .
As for your question, you do not need to store the intermediate file with raw predictions on disk. You can directly transfer it to an external evaluation tool ( perf ):
vw -d test.data -t -i model.vw -r /dev/stdout | perf -roc -files gold /dev/stdin
Edit: John Langford confirmed that AUC can generally be optimized by changing the ratio of false to false negative losses. In VW, this means setting a different weight of importance for positive and negative examples. You need to set the optimal weight with a downtime set (or cross-validation or progressive loss of validation for one-pass training).
Martin popel
source share