Re: Zero Coefficient in logistic regression

2017-10-24 Thread Alexis Peña
Thanks,  8/10 coeff are zero estimate in CRUZADAS, the parameters for alpha and lambda are set in default(i think  zero, the model in R and SAS was fitted using glm binary logistic. Cheers De: Simon Dirmeier Fecha: martes, 24 de octubre de 2017, 08:30 Para: Alexis Peña , Asunto: Re

Re: Zero Coefficient in logistic regression

2017-10-24 Thread Alexis Peña
-0,161424508 Thanks De: Weichen Xu Fecha: martes, 24 de octubre de 2017, 07:23 Para: Alexis Peña CC: "user @spark" Asunto: Re: Zero Coefficient in logistic regression Yes chi-squared statistic only used in categorical features. It looks not proper here. Thanks! On T

Zero Coefficient in logistic regression

2017-10-23 Thread Alexis Peña
Hi Guys, We are fitting a Logistic model using the following code. val Chisqselector = new ChiSqSelector().setNumTopFeatures(10).setFeaturesCol("VECTOR_1").setLabelCol("TARGET").setOutputCol("selectedFeatures") val assembler = new VectorAssembler().setInputCols(Array("FEATURES", "sele