Alexis Peña <alexis.p...@exalitica.com>, <user@spark.apache.org>
Asunto: Re: Zero Coefficient in logistic regression
So, all the coefficients are the same but for CRUZADAS? How are you fitting
the model in R (glm)? Can you try setting zero penalty for alpha and lambda
-0,161424508
Thanks
*De: *Weichen Xu <weichen...@databricks.com>
*Fecha: *martes, 24 de octubre de 2017, 07:23
*Para: *Alexis Peña <alexis.p...@exalitica.com>
*CC: *"user @spark" <user@spark.apache.org>
*Asunto: *Re: Zero Coefficient in logistic regression
Yes chi
-0,161424508
Thanks
De: Weichen Xu <weichen...@databricks.com>
Fecha: martes, 24 de octubre de 2017, 07:23
Para: Alexis Peña <alexis.p...@exalitica.com>
CC: "user @spark" <user@spark.apache.org>
Asunto: Re: Zero Coefficient in logistic regression
Yes chi
Yes chi-squared statistic only used in categorical features. It looks not
proper here.
Thanks!
On Tue, Oct 24, 2017 at 5:13 PM, Simon Dirmeier
wrote:
> Hey,
> as far as I know feature selection using the a chi-squared statistic, can
> only be done on categorical features
Hey,
as far as I know feature selection using the a chi-squared statistic,
can only be done on categorical features and not on possibly continuous
ones?
Furthermore, since your logistic model doesn't use any regularization,
you should be fine here. So I'd check the ChiSqSeletor and possibly
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",