The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Regarding to the coefficients of Log Reg..
when I get the result of Logistic regression to see the coefficients and intercepts, I notice it shows all coefficient but always missing one .. for example, if the variable is "gender", it will show the coefficient of Male on;y not for both .. ANY HELP PLZ ??!
0
Best Answer
-
BalazsBarany Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 UnicornHi!
Many regression operators in RapidMiner do automatic feature selection and remove correlated attributes by default.
In your gender variable, you probably only have two values. If the value is male, it can't be female, and the other way around. This is a frequent example for "collinear" features.
Having the coefficient for both gender attributes/values wouldn't add information to the model. However, you can force RapidMiner to include all attributes in the model by setting the appropriate options. In Logistic Regression, it's "remove collinear columns" (expert option).
Regards,
Balázs8