why does not linear svc model contain "probability"s in the output of "score()" function?
liuxiaodong008008 opened this issue · 1 comments
liuxiaodong008008 commented
I found linear svc model does not contain probability
s in the output of score()
function.
And if linear svc does not have probability
s, how do TransmogrifAI calculate AuRoC
in the summary()
?
tovbinm commented
The probability is not provided by the underlying LinearSVCModel
Spark model and therefore is not produced.
When computing metrics such as aupr, auroc, error, precision, recall, f1, only the label, prediction and raw prediction values are being used. E.g. - https://github.com/salesforce/TransmogrifAI/blob/master/core/src/main/scala/com/salesforce/op/evaluators/OpBinaryClassificationEvaluator.scala#L126)