I want to use binary classification metrics like precisionByThreshold and recallByThreshold which are available in Spark MLlib\'s BinaryClassificationMetrics and I was wondering