You can use the PolynomialExpansion in Spark ML ( http://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.ml.feature.PolynomialExpansion )
On Tue, 18 Oct 2016 at 21:47 miro <miroslav.kar...@gmail.com> wrote: > 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://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). > > 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 > > >