Re: Making more features in Logistic Regression

2016-10-25 Thread eliasah
Your question isn't clear. Would you care elaborate ? -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Making-more-features-in-Logistic-Regression-tp27915p27960.html Sent from the Apache Spark User List mailing list archive at Nabble.com. --

Re: Making more features in Logistic Regression

2016-10-18 Thread Nick Pentreath
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 wrote: > Yes, I was thinking going down this road: > > > http://scikit-learn.org/stable/modules/linear_mo

Re: Making more features in Logistic Regression

2016-10-18 Thread miro
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

Re: Making more features in Logistic Regression

2016-10-18 Thread aditya1702
-- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Making-more-features-in-Logistic-Regression-tp27915p27918.

Re: Making more features in Logistic Regression

2016-10-18 Thread aditya1702
Here is the graph and the features with their corresponding data -- View this message in cont

Re: Making more features in Logistic Regression

2016-10-18 Thread miro
Hi, I think it depends on how non-linear data you have. You could add polynomial to your model,..but everything depends on your data. If you could share more details maybe a scatter plot, would help to investigate the problem further. All the best, Miro > On 18 Oct 2016, at 19:09, aditya1702