Hi Robin, On 4 Nov 2016, at 09:19, Robin East <[email protected]<mailto:[email protected]>> wrote:
Hi Do you mean the test of significance that you usually get with R output? Yes, exactly. I don’t think there is anything implemented in the standard MLLib libraries however I believe that the sparkR version provides that. See http://spark.apache.org/docs/1.6.2/sparkr.html#gaussian-glm-model Glad to hear that as it means that I m not missing much. Many Thanks. Best Regards, Carlo ------------------------------------------------------------------------------- Robin East Spark GraphX in Action Michael Malak and Robin East Manning Publications Co. http://www.manning.com/books/spark-graphx-in-action On 4 Nov 2016, at 07:38, Carlo.Allocca <[email protected]<mailto:[email protected]>> wrote: Hi Mohit, Thank you for your reply. OK. it means coefficient with high score are more important that other with low score… Many Thanks, Best Regards, Carlo On 3 Nov 2016, at 20:41, Mohit Jaggi <[email protected]<mailto:[email protected]>> wrote: For linear regression, it should be fairly easy. Just sort the co-efficients :) Mohit Jaggi Founder, Data Orchard LLC www.dataorchardllc.com<http://www.dataorchardllc.com/> On Nov 3, 2016, at 3:35 AM, Carlo.Allocca <[email protected]<mailto:[email protected]>> wrote: Hi All, I am using SPARK and in particular the MLib library. import org.apache.spark.mllib.regression.LabeledPoint; import org.apache.spark.mllib.regression.LinearRegressionModel; import org.apache.spark.mllib.regression.LinearRegressionWithSGD; For my problem I am using the LinearRegressionWithSGD and I would like to perform a “Rank Features By Importance”. I checked the documentation and it seems that does not provide such methods. Am I missing anything? Please, could you provide any help on this? Should I change the approach? Many Thanks in advance, Best Regards, Carlo -- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority. --------------------------------------------------------------------- To unsubscribe e-mail: [email protected]<mailto:[email protected]> --------------------------------------------------------------------- To unsubscribe e-mail: [email protected]<mailto:[email protected]>
