Github user huaxingao commented on the issue:
https://github.com/apache/spark/pull/21678
Here is the output for Linear SVM Classifier in sparkr-vignettes.html.
```
prediction <- predict(model, training)
head(select(prediction, "Class", "Sex", "Age", "Freq", "Survived",
"prediction"))
## Class Sex Age Freq Survived prediction
## 1 1st Male Child 0 No Yes
## 2 2nd Male Child 0 No Yes
## 3 3rd Male Child 35 No Yes
## 4 Crew Male Child 0 No Yes
## 5 1st Female Child 0 No Yes
## 6 2nd Female Child 0 No Yes
```
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]