I have 12 feature variables, but why are there 13 weighs shown here for logistic regression in spark MLlib Databricks? How can I interpret it?
Following this link it says:
"
intercept
– Intercept computed for this model. (Only used in Binary Logistic Regression, the intercepts will not bea single value, so the intercepts will be part of the weights.) ".
Is the first weighs I got is reserved for intercept
?
Here is the code I referred to.