I am expecting to see labels output here but I see probabilities Why?
train <- read.csv("ClassTrain.csv")
glm.fit <- glm(Salary ~ .,data=train,family=binomial)
predict.label <- predict(glm.fit,train, type = 'response')
head(predict.label)
The labels in the Salary column are True and False
I recall the code used to work. I have since upgraded to be running R version 3.6.1