Hi everyone,
This may sound like a stupid question but I need to be sure of this :
Given a dataframe composed by « n » features : f1, f2, …, fn
For each row of my dataframe, I create a labeled point :
val row_i = LabeledPoint(label, Vectors.dense(v1_i,v2_i,…, vn_i) )
where v1_i,v2_i,…, vn_i a
Hi filthysocks,
Thanks for the answer. Indeed, using the clearThreshold() function solved my
problem :).
Regards,
Jean.
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/Is-it-relevant-to-use-BinaryClassificationMetrics-aucROC-aucPR-with-LogisticRegressionMo
Hi guys,
This may be a stupid question. But I m facing an issue here.
I found the class BinaryClassificationMetrics and I wanted to compute the
aucROC or aucPR of my model.
The thing is that the predict method of a LogisticRegressionModel only
returns the predicted class, and not the probability