Github user mateiz commented on the pull request:
https://github.com/apache/spark/pull/245#issuecomment-39173844
Hey Xiangrui, why have a MLContext at all? Why not just make the input
methods part of MLUtils? This is the pattern we've followed with other input
methods (e.g. KafkaUtils and TwitterUtils in Spark Streaming), and I think it
will make more sense long-term. An MLContext isn't actually a SparkContext so
it's weird to also call it a context.
---
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.
---