Github user jkbradley commented on the pull request:
https://github.com/apache/spark/pull/4152#issuecomment-71348152
@avulanov @mengxr Do you know how much of a hit we would take if we used a
type parameter for the type of data? I'm imagining a Datum type which would be
```Datum = (Double, Vector)``` for GLMs and would be ```Datum = (Vector,
Vector)``` for Neural Networks. This could be nice for unsupervised algorithms
using gradient descent, where we might have ```Datum = Vector```. I don't see
a reason to limit the generality unless it causes a large drop in performance.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]