-
- Downloads
[SPARK-8265] [MLLIB] [PYSPARK] Add LinearDataGenerator to pyspark.mllib.utils
It is useful to generate linear data for easy testing of linear models and in general. Scala already has it. This is just a wrapper around the Scala code. Author: MechCoder <manojkumarsivaraj334@gmail.com> Closes #6715 from MechCoder/generate_linear_input and squashes the following commits: 6182884 [MechCoder] Minor changes 8bda047 [MechCoder] Minor style fixes 0f1053c [MechCoder] [SPARK-8265] Add LinearDataGenerator to pyspark.mllib.utils
Showing
- mllib/src/main/scala/org/apache/spark/mllib/api/python/PythonMLLibAPI.scala 31 additions, 1 deletion...la/org/apache/spark/mllib/api/python/PythonMLLibAPI.scala
- python/pyspark/mllib/tests.py 20 additions, 2 deletionspython/pyspark/mllib/tests.py
- python/pyspark/mllib/util.py 35 additions, 0 deletionspython/pyspark/mllib/util.py
Please register or sign in to comment