Yes, I was thinking going down this road: http://scikit-learn.org/stable/modules/linear_model.html#polynomial-regression-extending-linear-models-with-basis-functions <http://scikit-learn.org/stable/modules/linear_model.html#polynomial-regression-extending-linear-models-with-basis-functions> http://stats.stackexchange.com/questions/58739/polynomial-regression-using-scikit-learn <http://stats.stackexchange.com/questions/58739/polynomial-regression-using-scikit-learn>
But I’m not sure if spark actually has polynomial regression implemented (I couldn’t find it) - maybe SparkML gurus can help here? You could take a look also at scikit integration package with Spark (https://github.com/databricks/spark-sklearn <https://github.com/databricks/spark-sklearn>). Hope it helped :) All the best, m. > On 18 Oct 2016, at 20:36, aditya1702 <adityavya...@gmail.com> wrote: > > <http://apache-spark-user-list.1001560.n3.nabble.com/file/n27918/pic1.png> > <http://apache-spark-user-list.1001560.n3.nabble.com/file/n27918/pic2.png> > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Making-more-features-in-Logistic-Regression-tp27915p27918.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe e-mail: user-unsubscr...@spark.apache.org >