Skip to content

auc_evaluator不支持label类型为dense_vector,如何在event_handler获得预测输出以手动计算auc? #3953

@JessieMeng

Description

@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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    User用于标记用户问题

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions