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
-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
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