A question about the logistic regression,
what if we need to look at the target variable that should be 0 ? so we count 0 as the goal , we need to modify the data.frame and transform all 0 of the target variable to 1.
and the same for independent variables ? ( if we need to say that they are important to us if they are 0'es ?
examples: A) if the target variable should be 1, and independent variables are 0 ( we look for independent variables that are 0) => here we need to transform the independent variables 0 to 1 and 1 to 0 and left the target variable as it ?
B) if the studied target variable should be 0 and independent variables also 0, so here we need to transform all 0 to 1 both dependent and independent variables ?