auc_evaluator不支持label类型为dense_vector,如何在event_handler获得预测输出以手动计算auc?
Created by: JessieMeng
def event_handler(event):
if isinstance(event, paddle.event.EndIteration):
if event.batch_id % 10 == 0:
print "Pass %d Batch %d Cost %.2f auc %s" % (
event.pass_id, event.batch_id, event.cost,event.metrics)