User 2785 | 4/27/2016, 11:45:35 PM
Just wanted to check my understanding of the logistic regression output. According to the docs if I feed in 0 and 1 as the target then 0 will be set as the base class and 1 will be set as the reference class. How do I use this assignment to interpret the coefficients? For example here are some of my coefficients from a recent model:
so then feeding in the features with their corresponding coefficients, positive coefficients move the predicted target more towards 1, and negative coefficients move the predicted target more towards 0, correct? I'm probably not phrasing this very well, I'm just confused about how 1 and 0 map to the coefficient signs.
the relevant part of the docs:
The values in this column must be of string or integer type. String target variables are automatically mapped to integers in the order in which they are provided. For example, a target variable with ‘cat’ and ‘dog’ as possible values is mapped to 0 and 1 respectively with 0 being the base class and 1 being the reference class.