spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Yip <>
Subject Implementing custom metrics under MLPipeline's BinaryClassificationEvaluator
Date Mon, 18 May 2015 05:35:21 GMT

I would like to use other metrics in BinaryClassificaitonEvaluator, I am
thinking about simple ones (i.e. PrecisionByThreshold). From the api site,
I can't tell much about how to implement it.

>From the code, it seems like I will have to override this function, using
most of the existing code for checking column schema, then replace the line
which compute the actual score

Is my understanding correct? Or there are more convenient way of
implementing a metric in order to be used by ML pipeline?



View this message in context:
Sent from the Apache Spark User List mailing list archive at
View raw message