I tried to implement this example for multinomial logistic regression, but it doesn't recognize features that are being used. Probably some version mismatch. This part of code:
trainingSummary.falsePositiveRateByLabel.zipWithIndex.foreach { case (rate, label) =>
println(s"label $label: $rate")
}
None of the members of LogisticRegressionTrainingSummary
are being recognized, falsePositiveRateByLabel
particulary in the given example. As well as other members later in code: truePositiveRateByLabel
, precisionByLabel
,...
When I go to implementation I can't find any similar members that I could use instead, I use mllib 2.11. What am I missing?