Closed liuxiaodong008008 closed 5 years ago
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)
I found linear svc model does not contain
probability
s in the output ofscore()
function. And if linear svc does not haveprobability
s, how do TransmogrifAI calculateAuRoC
in thesummary()
?